Ce site fonctionne mieux avec JavaScript.
Accueil
Explorateur
Aide
Connexion
yusmar
/
tbg-company-api
Suivre
1
Ajouter aux favoris
0
Bifurcation
0
Code
Tickets
0
Demandes d'ajout
0
Versions
0
Wiki
Activité
Parcourir la source
add discount field
master
yusmar
il y a 3 ans
Parent
c7d952266c
révision
7a5609a40f
8 fichiers modifiés
avec
40 ajouts
et
15 suppressions
Vue séparée
Option de Diff
Voir les Statistiques
Télécharger le Fichier Patch
Télécharger le Fichier des Différences
+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
Voir le fichier
@@ -46,6 +46,9 @@
},
"otr_price_bengkulu": {
"type": "biginteger"
},
"discount": {
"type": "decimal"
}
}
}
+ 3
- 0
api/apparel/models/apparel.settings.json
Voir le fichier
@@ -58,6 +58,9 @@
},
"otr_price_bengkulu": {
"type": "biginteger"
},
"discount": {
"type": "decimal"
}
}
}
+ 3
- 0
api/helmet/models/helmet.settings.json
Voir le fichier
@@ -59,6 +59,9 @@
},
"otr_price_bengkulu": {
"type": "biginteger"
},
"discount": {
"type": "decimal"
}
}
}
+ 2
- 2
api/product-image-color/models/product-image-color.settings.json
Voir le fichier
@@ -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
Voir le fichier
@@ -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
Voir le fichier
@@ -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
Voir le fichier
@@ -45,6 +45,9 @@
},
"otr_price_bengkulu": {
"type": "biginteger"
},
"discount": {
"type": "decimal"
}
}
}
+ 3
- 0
api/yg-part/models/yg-part.settings.json
Voir le fichier
@@ -37,6 +37,9 @@
},
"price2": {
"type": "biginteger"
},
"discount": {
"type": "decimal"
}
}
}
Écrire
Aperçu
Chargement…
Annuler
Enregistrer