Deze website werkt beter met JavaScript.
Beginscherm
Verkennen
Help
Inloggen
yusmar
/
tbg-company-api
Volgen
1
Ster
0
Vork
0
Code
Kwesties
0
Pull-aanvragen
0
Publicaties
0
Wiki
Activiteit
Bladeren bron
add discount field
master
yusmar
3 jaren geleden
bovenliggende
c7d952266c
commit
7a5609a40f
8 gewijzigde bestanden
met
toevoegingen van 40
en
15 verwijderingen
Zij-aan-zij weergave
Diff opties
Statistieken weergeven
Download Patch-bestand
Download Diff-bestand
+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
Bestand weergeven
@@ -46,6 +46,9 @@
},
"otr_price_bengkulu": {
"type": "biginteger"
},
"discount": {
"type": "decimal"
}
}
}
+ 3
- 0
api/apparel/models/apparel.settings.json
Bestand weergeven
@@ -58,6 +58,9 @@
},
"otr_price_bengkulu": {
"type": "biginteger"
},
"discount": {
"type": "decimal"
}
}
}
+ 3
- 0
api/helmet/models/helmet.settings.json
Bestand weergeven
@@ -59,6 +59,9 @@
},
"otr_price_bengkulu": {
"type": "biginteger"
},
"discount": {
"type": "decimal"
}
}
}
+ 2
- 2
api/product-image-color/models/product-image-color.settings.json
Bestand weergeven
@@ -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
Bestand weergeven
@@ -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
Bestand weergeven
@@ -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
Bestand weergeven
@@ -45,6 +45,9 @@
},
"otr_price_bengkulu": {
"type": "biginteger"
},
"discount": {
"type": "decimal"
}
}
}
+ 3
- 0
api/yg-part/models/yg-part.settings.json
Bestand weergeven
@@ -37,6 +37,9 @@
},
"price2": {
"type": "biginteger"
},
"discount": {
"type": "decimal"
}
}
}
Schrijf
Voorbeeld
Laden…
Annuleren
Opslaan