Denna sida fungerar bättre med Javascript igång.
Startsida
Utforska
Hjälp
Logga in
yusmar
/
tbg-company-api
Bevaka
1
Stjärnmärk
0
Förgrening
0
Kod
Ärenden
0
Pull-förfrågningar
0
Släpp
0
Wiki
Aktiviteter
Bläddra i källkod
add discount field
master
yusmar
3 år sedan
förälder
c7d952266c
incheckning
7a5609a40f
8 ändrade filer
med
40 tillägg
och
15 borttagningar
Delad Vy
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-0
api/accessories/models/accessories.settings.json
+3
-0
api/apparel/models/apparel.settings.json
+3
-0
api/helmet/models/helmet.settings.json
+2
-2
api/product-image-color/models/product-image-color.settings.json
+5
-2
api/product/models/product.settings.json
+18
-11
api/transaction/models/transaction.settings.json
+3
-0
api/yamalube/models/yamalube.settings.json
+3
-0
api/yg-part/models/yg-part.settings.json
+ 3
- 0
api/accessories/models/accessories.settings.json
Visa fil
@@ -46,6 +46,9 @@
},
"otr_price_bengkulu": {
"type": "biginteger"
},
"discount": {
"type": "decimal"
}
}
}
+ 3
- 0
api/apparel/models/apparel.settings.json
Visa fil
@@ -58,6 +58,9 @@
},
"otr_price_bengkulu": {
"type": "biginteger"
},
"discount": {
"type": "decimal"
}
}
}
+ 3
- 0
api/helmet/models/helmet.settings.json
Visa fil
@@ -59,6 +59,9 @@
},
"otr_price_bengkulu": {
"type": "biginteger"
},
"discount": {
"type": "decimal"
}
}
}
+ 2
- 2
api/product-image-color/models/product-image-color.settings.json
Visa fil
@@ -26,8 +26,8 @@
"required": false
},
"product": {
"
model": "product
",
"
via": "product_image_colors
"
"
via": "product_image_colors
",
"
model": "product
"
}
}
}
+ 5
- 2
api/product/models/product.settings.json
Visa fil
@@ -226,8 +226,11 @@
"via": "product"
},
"product_image_colors": {
"via": "product",
"collection": "product-image-color"
"collection": "product-image-color",
"via": "product"
},
"discount": {
"type": "decimal"
}
}
}
+ 18
- 11
api/transaction/models/transaction.settings.json
Visa fil
@@ -41,20 +41,27 @@
"note": {
"type": "text"
},
"product_img": {
"model": "file",
"via": "related",
"allowedTypes": [
"images",
"files",
"videos"
],
"plugin": "upload",
"required": false
},
"status": {
"model": "status",
"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"
}
}
}
+ 3
- 0
api/yamalube/models/yamalube.settings.json
Visa fil
@@ -45,6 +45,9 @@
},
"otr_price_bengkulu": {
"type": "biginteger"
},
"discount": {
"type": "decimal"
}
}
}
+ 3
- 0
api/yg-part/models/yg-part.settings.json
Visa fil
@@ -37,6 +37,9 @@
},
"price2": {
"type": "biginteger"
},
"discount": {
"type": "decimal"
}
}
}
Skriv
Förhandsgranska
Laddar…
Avbryt
Spara