Open Eghinner opened 2 years ago
The app must adapt to this change
I suggest EE-3 @victor-heliomar @Israel-Laguan @Luisparr14 @joset98 Can you help us with a suggestion?
The biggest consideration is the convert rate. It will be fixed? In this case, maybe it's a EE-1. If the conversion rate is variable, for example using a certain API, it can be even EE-5.
i suggest EE-2
I think it should be variable, so, EE-3 sounds good for me.
The biggest consideration is the convert rate. It will be fixed? In this case, maybe it's a EE-1. If the conversion rate is variable, for example using a certain API, it can be even EE-5.
I remember that Daniel said that the provider could add the price in Soles or in USD, but it would not be converted
@Eghinner can you confirm please?
We need to considerate that this will affect the invoice generated in the APP, so before we were adding up the prices of all the products in the cart, but now it looks like is not possible, for example:
If that is what I remember what Daniel said, and we don't convert it between USD - Soles, then we can't sum this products, and should have two bills instead, for example:
S/. bill | USD. bill |
---|---|
Laptop 1500 S/. | Mouse 100 USD. |
Some food 500 S/. | Keyboard 100 USD |
Total: 2000 S./ | Total: 200 USD |
In any case, we should considerate that it's not just the change in the backend, it also requires making important changes in the APP, especially in the Cart and the invoice logic, so I think in it like this:
Task | E.E |
---|---|
Create a new column in the database | 1 |
Create a new field / button in the admin panel to select the currency | 1 |
Modify admin panel cards to show properly the price of the products with the new currency | 1 |
Modify the APK to show properly the price of the products with the new currency | 1 |
Modify the APK logic to generate the total of the product (blocked until get if is needed to convert between the currencies) | 1-2 |
Modify the APK logic to handle the cart (now you should save the currency of the product at the cart) | 1-2 |
Modify the APK logic to create the invoice to adapt it to the new functionality of currencies | 1-2 |
In total, for me, this task is between 7 and 10 E.E
Debe haber una opcion para escoger la moneda deseada, lo cual solo cambiara el simbolo que acompaña el precio
Se debe agregar un input select con dos opciones [soles, dolares] que cambie en el precio el simbolo y guarde en base de datos el tipo de moneda deseado.
Modificar la lógica del APK para manejar el carrito (ahora debe guardar la moneda del producto en el carrito)
La APK debe actualizarse para no mostrar el total si hay distintos tipos de moneda en la consulta
It will be divided into several tasks in both admin-panel and did-app. Estimated in EE-7 due to the amount of changes.
Update
Resultado esperado:
Debe haber una opcion para escoger la moneda deseada, lo cual solo cambiara el simbolo que acompaña el precio
Detalles tecnicos
* Se debe agregar un input select con dos opciones [soles, dolares] que cambie en el precio el simbolo y guarde en base de datos el tipo de moneda deseado. * Modificar la lógica del APK para manejar el carrito (ahora debe guardar la moneda del producto en el carrito) * La APK debe actualizarse para no mostrar el total si hay distintos tipos de moneda en la consulta
Hmm ok I think the tasks that I suggested still are valid since we still should to check how to handle the "Cart" and the "Total amount" in the APK and invoice now that we have products that have the price in different currencies
@victor-heliomar @Israel-Laguan @joset98 @yreyes2903 podrían por favor ayudarme con la estimación definitiva de esta tarea
Creo que 3 para cambiar en todos lados
El usuario proveedor puede agregar y/o editer el precio del producto unicamente en soles
Al crear o editar un producto hay dos campos de precio. Uno en soles que puede ser llenado o editado, y uno en dolares que mostrara la conversion de soles a dolares.