diff --git a/frontend/payments/cebelica/InvoiceFox/cebelcaApi.php b/frontend/payments/cebelica/InvoiceFox/cebelcaApi.php index 18fa181cc..cf301e158 100644 --- a/frontend/payments/cebelica/InvoiceFox/cebelcaApi.php +++ b/frontend/payments/cebelica/InvoiceFox/cebelcaApi.php @@ -21,7 +21,7 @@ function racunIzPredracuna($api, $podatki, $proformaId, $lang='si', $eracun=fals $argumentiProforma = array( "id" => $proformaId, "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'])) );