Open
Description
For some reason, when new version was created, a behaviour from legacy site was changed. paid_via, payment_mode were switched with each other. And this is causing inconsistencies in backend and frontend.
- Discuss and standardize the usage of these columns,
- create a migration to switch between the two to make it consistent,
- and fix server and frontend code to use correct fields where approppriate
Current Data:
+----------------+------------+---------+----------------------------------+
| payment_mode | paid_via | count | last_order_date |
|----------------+------------+---------+----------------------------------|
| <null> | transfer | 5 | 2019-01-28 21:08:22.169331+05:30 |
| <null> | onsite | 15 | 2018-12-27 17:51:52.287084+05:30 |
| <null> | cheque | 2 | 2018-11-19 21:51:13.081516+05:30 |
| card | stripe | 554 | 2019-03-31 12:51:41.664581+05:30 |
| paypal | paypal | 90 | 2020-09-25 06:12:21.211695+05:30 |
| stripe | card | 45 | 2020-03-04 10:26:29.134881+05:30 |
| <null> | paypal | 320 | 2019-04-25 15:55:44.394158+05:30 |
+----------------+------------+---------+----------------------------------+
Metadata
Metadata
Assignees
Type
Projects
Status
Backlog