From be8d1052d790fa5de2358b972cab5bb96785cba2 Mon Sep 17 00:00:00 2001 From: Peter Hrvatin Date: Wed, 25 Nov 2020 11:07:19 +0100 Subject: [PATCH] Dodan angleski prevod komentarja na predracunu ce ni ddv-ja --- frontend/payments/cebelica/InvoiceFox/cebelcaApi.php | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/frontend/payments/cebelica/InvoiceFox/cebelcaApi.php b/frontend/payments/cebelica/InvoiceFox/cebelcaApi.php index 9c5a64699..dabdbeabc 100644 --- a/frontend/payments/cebelica/InvoiceFox/cebelcaApi.php +++ b/frontend/payments/cebelica/InvoiceFox/cebelcaApi.php @@ -142,12 +142,20 @@ function ustvariPredracun($api,$podatki,$lang='si') { // Podjetje, ki nima ddv (EU zavezanec oz. katerakoli 3. drzava) if($podatki['podjetjeime'] != "" && $podatki['ddv'] != 1) { - $pub_notes = 'V skladu s členom 25/1 ZDDV-1 ni obračunan DDV.'; + + if($lang == 'si') + $pub_notes = 'V skladu s členom 25/1 ZDDV-1 ni obračunan DDV.'; + else + $pub_notes = 'According to article 25/1 ZDDV-1 VAT is not included.'; } // Fizicna oseba iz 3. drzave, ki nima ddv if($podatki['podjetjeime'] == "" && $podatki['ddv'] != 1) { - $pub_notes = 'V skladu s členom 30.d/1 ZDDV-1 ni obračunan DDV.'; + + if($lang == 'si') + $pub_notes = 'V skladu s členom 30.d/1 ZDDV-1 ni obračunan DDV.'; + else + $pub_notes = 'According to article 30.d/1 ZDDV-1 VAT is not included.'; }