Popravek za paypal pri klicu cebelice
This commit is contained in:
parent
8f99a30721
commit
c2fd636648
@ -47,12 +47,14 @@ function racunIzPredracuna($api,$podatki,$proformaId,$lang='si') {
|
||||
// nastavi, da je plačano
|
||||
$api->markPayed($header);
|
||||
|
||||
// kartica in gotovina se potrjujeta
|
||||
if($tip_placila == 3){
|
||||
// kartica in paypal se potrjujeta
|
||||
if($tip_placila == 3 || $tip_placila == 5){
|
||||
|
||||
$id_location = ($tip_placila == 5) ? 4 : 2;
|
||||
|
||||
$glava = array (
|
||||
'id' => $invId,
|
||||
"id_location" => 2,
|
||||
"id_location" => $id_location,
|
||||
"id_register" => 1,
|
||||
"fiscalize" => 1,
|
||||
'op-tax-id' => IZDAJATELJ_DAVCNA,
|
||||
|
Loading…
x
Reference in New Issue
Block a user