Update modFacture.class.php

This commit is contained in:
Laurent Destailleur 2022-03-29 16:05:41 +02:00 committed by GitHub
parent 6dfad5d69f
commit 8e7b145510
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -99,21 +99,6 @@ class modFacture extends DolibarrModules
$this->const[$r][4] = 0;
$r++;
/*$this->const[$r][0] = "FACTURE_DRAFT_WATERMARK";
$this->const[$r][1] = "chaine";
$this->const[$r][2] = "__(Draft)__";
$this->const[$r][3] = 'Watermark to show on draft invoices';
$this->const[$r][4] = 0;
$r++;*/
$this->const[$r][0] = "INVOICE_CHECK_POSTERIOR_DATE";
$this->const[$r][1] = "chaine";
$this->const[$r][2] = 0;
$this->const[$r][3] = "When validating an invoice, check that its date is posterior to last invoice date for invoices of same type.";
$this->const[$r][4] = 0;
$r++;
// Boxes
//$this->boxes = array(0=>array(1=>'box_factures_imp.php'),1=>array(1=>'box_factures.php'));
$this->boxes = array(