NEW Can manage situation invoices
This commit is contained in:
parent
f752551914
commit
0cd8337b7e
@ -137,13 +137,6 @@ function invoice_admin_prepare_head()
|
|||||||
$head[$h][2] = 'payment';
|
$head[$h][2] = 'payment';
|
||||||
$h++;
|
$h++;
|
||||||
|
|
||||||
if ($conf->global->INVOICE_USE_SITUATION || $conf->global->MAIN_FEATURES_LEVEL >= 1) {
|
|
||||||
$head[$h][0] = DOL_URL_ROOT.'/admin/facture_situation.php';
|
|
||||||
$head[$h][1] = $langs->trans("InvoiceSituation");
|
|
||||||
$head[$h][2] = 'situation';
|
|
||||||
$h++;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Show more tabs from modules
|
// Show more tabs from modules
|
||||||
// Entries must be declared in modules descriptor with line
|
// Entries must be declared in modules descriptor with line
|
||||||
// $this->tabs = array('entity:+tabname:Title:@mymodule:/mymodule/mypage.php?id=__ID__'); to add new tab
|
// $this->tabs = array('entity:+tabname:Title:@mymodule:/mymodule/mypage.php?id=__ID__'); to add new tab
|
||||||
@ -170,6 +163,11 @@ function invoice_admin_prepare_head()
|
|||||||
$head[$h][2] = 'attributeslinesrec';
|
$head[$h][2] = 'attributeslinesrec';
|
||||||
$h++;
|
$h++;
|
||||||
|
|
||||||
|
$head[$h][0] = DOL_URL_ROOT.'/admin/facture_situation.php';
|
||||||
|
$head[$h][1] = $langs->trans("InvoiceSituation");
|
||||||
|
$head[$h][2] = 'situation';
|
||||||
|
$h++;
|
||||||
|
|
||||||
complete_head_from_modules($conf, $langs, null, $head, $h, 'invoice_admin', 'remove');
|
complete_head_from_modules($conf, $langs, null, $head, $h, 'invoice_admin', 'remove');
|
||||||
|
|
||||||
return $head;
|
return $head;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user