forked from Wavyzz/dolibarr
Update mod_delivery_jade.php
This commit is contained in:
@@ -157,7 +157,7 @@ class mod_delivery_jade extends ModeleNumRefDeliveryOrder
|
|||||||
if (empty($date)) {
|
if (empty($date)) {
|
||||||
$date = dol_now();
|
$date = dol_now();
|
||||||
}
|
}
|
||||||
$yymm = strftime("%y%m", $date);
|
$yymm = dol_print_date($date, "%y%m");
|
||||||
|
|
||||||
if ($max >= (pow(10, 4) - 1)) {
|
if ($max >= (pow(10, 4) - 1)) {
|
||||||
$num = $max + 1; // If counter > 9999, we do not format on 4 chars, we take number as it is
|
$num = $max + 1; // If counter > 9999, we do not format on 4 chars, we take number as it is
|
||||||
|
|||||||
Reference in New Issue
Block a user