Line 1:
Line 1:
[[Category:Supplier]]
[[Category:Supplier]]
−
{{ToTranslate}}
+
{{TemplateDocDevEn}}
{{BasculeDevUserEn|
{{BasculeDevUserEn|
name=Supplier|
name=Supplier|
devdoc=This page|
devdoc=This page|
userdoc=[[Suppliers Orders]], [[Suppliers Invoices]]|}}
userdoc=[[Suppliers Orders]], [[Suppliers Invoices]]|}}
−
{{TemplateDocDevEn}}
−
== Fonction ==
+
== Feature ==
−
== Entité Commandes fournisseur ==
+
== Entity Supplier orders ==
−
=== Permissions ===
+
== Permissions ==
−
if ($obj->fk_id == 181)
+
*->fournisseur->commande->lire
−
$this->rights->fournisseur->commande->lire = 1;
+
*->fournisseur->commande->creer
+
*->fournisseur->commande->valider
+
*->fournisseur->commande->approuver
+
*->fournisseur->commande->commander
+
*->fournisseur->commande->cloturer
−
if ($obj->fk_id == 182)
+
== Different Status ==
−
$this->rights->fournisseur->commande->creer = 1;
+
{{ToTranslate}}
−
−
if ($obj->fk_id == 183)
−
$this->rights->fournisseur->commande->valider = 1;
−
−
if ($obj->fk_id == 184)
−
$this->rights->fournisseur->commande->approuver = 1;
−
−
if ($obj->fk_id == 185)
−
$this->rights->fournisseur->commande->commander = 1;
−
−
if ($obj->fk_id == 186)
−
$this->rights->fournisseur->commande->cloturer = 1;
−
−
=== Différents Statuts ===
* 0 : mode brouillon en rédaction
* 0 : mode brouillon en rédaction
Line 39:
Line 28:
* 5 : totalement livrée ou cloturée
* 5 : totalement livrée ou cloturée
* 9 : refusée, le responsable des commandes a refusé la commande
* 9 : refusée, le responsable des commandes a refusé la commande
+
+
== Entity Supplier invoices ==
+
−
== Tables SQL ==
+
= Tables SQL =