NEW Add stats and late records into dashboard for supplier proposals.
This commit is contained in:
parent
c63ee8ceb5
commit
36474eabec
@ -182,7 +182,7 @@ class Propal extends CommonObject
|
||||
*/
|
||||
const STATUS_NOTSIGNED = 3;
|
||||
/**
|
||||
* Billed quote
|
||||
* Billed or processed quote
|
||||
*/
|
||||
const STATUS_BILLED = 4;
|
||||
|
||||
|
||||
@ -84,7 +84,7 @@ class FormSupplierProposal
|
||||
}
|
||||
else
|
||||
{
|
||||
$conv_to_new_code=array('PR_DRAFT'=>'Draft','PR_OPEN'=>'Opened','PR_CLOSED'=>'Closed','PR_SIGNED'=>'Signed','PR_NOTSIGNED'=>'NotSigned','PR_FAC'=>'Billed');
|
||||
$conv_to_new_code=array('PR_DRAFT'=>'Draft','PR_OPEN'=>'Opened','PR_CLOSED'=>'Closed','PR_SIGNED'=>'Signed','PR_NOTSIGNED'=>'NotSigned','PR_FAC'=>'Closed');
|
||||
if (! empty($conv_to_new_code[$obj->code])) $key=$conv_to_new_code[$obj->code];
|
||||
print ($langs->trans("PropalStatus".$key.($short?'Short':''))!="PropalStatus".$key.($short?'Short':''))?$langs->trans("PropalStatus".$key.($short?'Short':'')):$obj->label;
|
||||
}
|
||||
|
||||
@ -58,3 +58,5 @@ DefaultModelSupplierProposalCreate=Default model creation
|
||||
DefaultModelSupplierProposalToBill=Default template when closing a price request (accepted)
|
||||
DefaultModelSupplierProposalClosed=Default template when closing a price request (refused)
|
||||
ListOfSupplierProposal=List of supplier proposal requests
|
||||
SupplierProposalsToClose=Supplier proposals to close
|
||||
SupplierProposalsToProcess=Supplier proposals to process
|
||||
@ -62,7 +62,7 @@ class SupplierProposal extends CommonObject
|
||||
*/
|
||||
var $author;
|
||||
var $ref_fourn; //Reference saisie lors de l'ajout d'une ligne à la demande
|
||||
var $statut; // 0 (draft), 1 (validated), 2 (signed), 3 (not signed), 4 (billed)
|
||||
var $statut; // 0 (draft), 1 (validated), 2 (signed), 3 (not signed), 4 (processed/billed)
|
||||
var $date; // Date of proposal
|
||||
var $date_livraison;
|
||||
|
||||
@ -156,7 +156,7 @@ class SupplierProposal extends CommonObject
|
||||
*/
|
||||
const STATUS_NOTSIGNED = 3;
|
||||
/**
|
||||
* Billed quote
|
||||
* Billed or processed quote
|
||||
*/
|
||||
const STATUS_BILLED = 4;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user