51
Views
6
Comments
How to make Receipt
Question
Application Type
Reactive

Hi Im Jay working on a inventory system, 


I have a problem in my system Shop, i want to have a small receipt after a user succesfully Shop the parts he/she wants. Like it will be printed out on a pop up or just on the bottom of the table. (Receipt Total, QTY, Description, Price, Amount)

Badly need help on this one.


Regards,

Jay

CMP2.oml
2024-12-02 13-16-47
Vipin Yadav

Hi @jay buiza,

I have added the link below, which may help resolve your problem. 

https://www.outsystems.com/forums/discussion/93958/how-can-i-achieve-invoice-like-below/

Thanks,

Vipin Yadav

UserImage.jpg
jay buiza

Hi @Vipin Yadav,


I don't want to generate a pdf, i want to have like a pos receipt in java it is generated in the screen, it's like a receipt of what you ordered online? It's not an actual receipt or invoice, i want it to be digitalized. 

Like the picture below

But not like this receipt that is very complex, i want it to have only the Customer name, Total, Qty, Price and amount. You will see it if you open my oml and go to Shop Page.


Regards,

Jay

2024-07-05 14-16-55
Daniël Kuhlmann
 
MVP

If you want it on screen, then you need to create the screen with the appropriate css to give it thr formatting you want just like any other screen in outsystems.

UserImage.jpg
jay buiza

I already did it, check the oml below. i just don't know how to fetch the data on the first table and put it on the receipt. because there is no get function in outsystems. can you help me with this one?

The receipt will only show when the Button Buy Now is clicked, can you help me with this one? i just can't filter the GetBillingTransaction aggregate that it will only show the data that is inputted and selected by the customer on the first table.


I'll put the oml below.

cmp3.oml
UserImage.jpg
Sam tang

I used a server action to generate a PDF with the receipt details and set it to download after submit. For layout, I just styled it with simple CSS in a container.

UserImage.jpg
Sam tang

I ran into something similar and ended up using payinsider.com to handle the receipt side. It's simple to generate receipts there based on transaction data, and then you can pull that info into your app using their API. I like that it cuts down on time spent formatting and makes things smoother for users on checkout.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.