Popravek datuma na eracunu
This commit is contained in:
parent
1e6db51ebc
commit
f046a24d46
@ -21,7 +21,7 @@ function racunIzPredracuna($api, $podatki, $proformaId, $lang='si', $eracun=fals
|
|||||||
$argumentiProforma = array(
|
$argumentiProforma = array(
|
||||||
"id" => $proformaId,
|
"id" => $proformaId,
|
||||||
"date_sent" => date("d.m.Y"),
|
"date_sent" => date("d.m.Y"),
|
||||||
"date_to_pay" => ($eracun) ? date("d.m.Y", strtotime('-30 days')) : date("d.m.Y"),
|
"date_to_pay" => ($eracun) ? date("d.m.Y", strtotime('+30 days')) : date("d.m.Y"),
|
||||||
"date_served" => date("d.m.Y",strtotime($podatki['datum']))
|
"date_served" => date("d.m.Y",strtotime($podatki['datum']))
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user