Invoices rows
Opened this issue · 0 comments
tomastiminskas commented
The invoices messages are pretty different depending on their state: PENDING OR PAID - SENT OR RECEIVED. So we have 6 different layouts to build:
1- RECEIVED PENDING INVOICE
2- RECEIVED PAID INVOICE AND SENT PAYMENT FOR THAT INVOICE:
- they are 2 rows showing together but they need to be built separately
- Even when they represent a received invoice, it will show on the right side of the chat (as any sent message) because it's linked to sent payment for that invoice)
3- SENT PENDING INVOICE
4- SENT PAID INVOICE AND INVOICE PAYMENT
- they are 2 rows showing together but they need to be built separately
- Even when they represent a sent invoice, it will show on the left side of the chat (as any received message) because it's linked to received payment for that invoice)