Manta
Manta copied to clipboard
Payment details
Expected Behavior
Adding Bank Details to Invoices.
Current Behavior
None
Possible Solution
Link to the branch I stuck to pass the data in the template. even though I am using an index in the template, the current value from the input is undefined. So I left as static data for now.
Context
It's common to include payment details on an invoice.
@adcat: Hey, sorry for taking a bit long to get back to you. Have been pretty busy in the last week. Question: Wouldn't it be easier to use a text area field instead of 3 text inputs for this?
@hql287 Hi, no worries(; Do you mean one text area for example Payment details where you can fill any info? I think that can work better cause info for payment can vary for different people. Correct me please if I am wrong (;
@adcat Yes, that's what I meant 👍 Feel free to update the PR when you have the time. Regarding passing data to the invoice, it goes like this.
- Click the
View Invoice
button and the invoice's data will beipc
ed to the main process. - The main process will
ipc
this data topreviewWindow
. - The
previewWindow
pick up this data and handle it from there.
Make sense? Let me know if you have any question.
@adcat: Hey, sorry for taking a bit long to get back to you. Have been pretty busy in the last week. Question: Wouldn't it be easier to use a text area field instead of 3 text inputs for this?
I think that will be an good option. Three Text Areas which can be optionally filled and the result will be shown on the footer on the document.
Hey, loving Manta, just wanted to chime in and say, yes, including bank details would be wonderful :tada: