Open Samyoul opened 7 years ago
Hi. Can you please paste link or screenshot where this feature has to be implemented. Thank you
I think this issue is just a bug, after payment creation the application should redirect the user to the payment detail page where they can allocate the payment to invoices. There are parts of the application that work as is expected.
customers/create_payment/payment
On this view after the application has completed adding a new payment to a customer account the application just redirects back with a success message.
We need the application to redirect the user to a page where they can allocate the payment. See below for how it works in the application on the individual customer level.
customers/create_payment/payment/{customer_id}
OR customers/create_payment/payment/{customer_id}/received
There are two routes that will allow you to create a payment for a customer, as seen above, but both route do the same thing.
From Customer - Transactions:
Which takes you to customers/invoices/{customer_id}
From Customer - Payment Received: Click on "Payment Received" on the customer row buttons:
Using either method will take you to a page that looks like below. Enter the payment details.
Once the payment has been created the application will redirect the user to the payment info page.
customers/invoice_payment/{customer_id}/{payment_id}/payment
This page allows the user to allocate payments and credit notes to invoices. Click the "Payment" button in the row item actions. This will allow the user to allocate the part or all the value of the payment to the invoice.
The user will be redirected to the payment info page, which will now show to which invoice it was allocated.