diff --git a/city e-commerce 0.0.1.html b/city e-commerce 0.0.1.html
index fd027e4..7556d58 100644
--- a/city e-commerce 0.0.1.html
+++ b/city e-commerce 0.0.1.html
@@ -9569,7 +9569,26 @@
appObjects: {},
vectorClock: {},
generalData: {},
- generalVC: {}
+ generalVC: {},
+ /* ecommerce app */
+ // general purposes datastores
+ myInfo: {
+ indexes: {floId: null}
+ },
+ my_orders_history: {
+ txid: null,
+ status: null,
+ },
+
+ // for Seller view
+ sellerProducts: {},
+
+ // for Buyer view
+ my_search_history: {
+ indexes: {
+ productCategory: null,
+ }
+ }
}
//add other given objectStores
for (o in this.appObs)
@@ -9939,6 +9958,7 @@
parse_flo_comments: async function() {
text = `masterFLOPubKey=03EA5E2CAB18DA585400D6EC569438D415FAF200528E05D0E2B9BEAA2B5C3DCA90
#!#SUBJECT=TEST_ECOMMERCE_7
+ #!#CURRENCY=INR
#!#DATA_TYPE={
"SELLING_PRODUCTS":"RANCHI_SELLING_PRODUCTS_7",
"BUY_ORDERS":"RANCHI_BUY_ORDERS_7",
@@ -10175,9 +10195,11 @@
this.buy_list = []; // tentative to change
this.shopping_bill = { // final buy order
shopping_list: [],
- total_amount: 0,
+ quantity: {},
};
+ this.gst_rate = buyer_details.gst_rate || 0;
this.total_buying_price = 0;
+ this.total_amount = 0;
},
sellers: function Seller(seller_details={}) {
for (const key in seller_details) {
@@ -10409,29 +10431,43 @@