mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-31 14:12:29 +01:00
Fix label
This commit is contained in:
@@ -127,8 +127,10 @@ if ($resql)
|
||||
$num = $db->num_rows($resql);
|
||||
$i = 0;
|
||||
|
||||
print "<!-- title of cash fence -->";
|
||||
print "<center><h2>";
|
||||
if ($cashcontrol->status == 2) print $langs->trans("CashControl")." ".$cashcontrol->id;
|
||||
var_dump($cashcontrol->status);
|
||||
if ($cashcontrol->status != $cashcontrol::STATUS_DRAFT) print $langs->trans("CashControl")." ".$cashcontrol->id;
|
||||
else print $langs->trans("CashControl")." - ".$langs->trans("Draft");
|
||||
print "<br>".$langs->trans("DateCreationShort").": ".dol_print_date($cashcontrol->date_creation, 'dayhour')."</h2></center>";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user