| @@ -46,6 +46,9 @@ | |||||
| }, | }, | ||||
| "otr_price_bengkulu": { | "otr_price_bengkulu": { | ||||
| "type": "biginteger" | "type": "biginteger" | ||||
| }, | |||||
| "discount": { | |||||
| "type": "decimal" | |||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| @@ -58,6 +58,9 @@ | |||||
| }, | }, | ||||
| "otr_price_bengkulu": { | "otr_price_bengkulu": { | ||||
| "type": "biginteger" | "type": "biginteger" | ||||
| }, | |||||
| "discount": { | |||||
| "type": "decimal" | |||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| @@ -59,6 +59,9 @@ | |||||
| }, | }, | ||||
| "otr_price_bengkulu": { | "otr_price_bengkulu": { | ||||
| "type": "biginteger" | "type": "biginteger" | ||||
| }, | |||||
| "discount": { | |||||
| "type": "decimal" | |||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| @@ -26,8 +26,8 @@ | |||||
| "required": false | "required": false | ||||
| }, | }, | ||||
| "product": { | "product": { | ||||
| "model": "product", | |||||
| "via": "product_image_colors" | |||||
| "via": "product_image_colors", | |||||
| "model": "product" | |||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| @@ -226,8 +226,11 @@ | |||||
| "via": "product" | "via": "product" | ||||
| }, | }, | ||||
| "product_image_colors": { | "product_image_colors": { | ||||
| "via": "product", | |||||
| "collection": "product-image-color" | |||||
| "collection": "product-image-color", | |||||
| "via": "product" | |||||
| }, | |||||
| "discount": { | |||||
| "type": "decimal" | |||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| @@ -41,20 +41,27 @@ | |||||
| "note": { | "note": { | ||||
| "type": "text" | "type": "text" | ||||
| }, | }, | ||||
| "product_img": { | |||||
| "model": "file", | |||||
| "via": "related", | |||||
| "allowedTypes": [ | |||||
| "images", | |||||
| "files", | |||||
| "videos" | |||||
| ], | |||||
| "plugin": "upload", | |||||
| "required": false | |||||
| }, | |||||
| "status": { | "status": { | ||||
| "model": "status", | "model": "status", | ||||
| "via": "transactions" | "via": "transactions" | ||||
| }, | |||||
| "cust_email": { | |||||
| "type": "email" | |||||
| }, | |||||
| "cust_postCode": { | |||||
| "type": "string" | |||||
| }, | |||||
| "cust_village": { | |||||
| "type": "string" | |||||
| }, | |||||
| "cust_district": { | |||||
| "type": "string" | |||||
| }, | |||||
| "cust_city": { | |||||
| "type": "string" | |||||
| }, | |||||
| "cust_province": { | |||||
| "type": "string" | |||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| @@ -45,6 +45,9 @@ | |||||
| }, | }, | ||||
| "otr_price_bengkulu": { | "otr_price_bengkulu": { | ||||
| "type": "biginteger" | "type": "biginteger" | ||||
| }, | |||||
| "discount": { | |||||
| "type": "decimal" | |||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| @@ -37,6 +37,9 @@ | |||||
| }, | }, | ||||
| "price2": { | "price2": { | ||||
| "type": "biginteger" | "type": "biginteger" | ||||
| }, | |||||
| "discount": { | |||||
| "type": "decimal" | |||||
| } | } | ||||
| } | } | ||||
| } | } | ||||