Undefined array key "brutto_currency"
Posted: 09 Dec 2022, 07:18
Please I have the following error help me solve it.
Warning: Undefined array key "brutto_currency" in C:\xampp\htdocs\picofino\components\com_phocacart\views\pos\tmpl\default_main_content_payment.php on line 32
Warning: Undefined array key "brutto_currency" in C:\xampp\htdocs\picofino\components\com_phocacart\views\pos\tmpl\default_main_content_payment.php on line 33
32 if ($this->t['total'][0]['brutto_currency'] !== 0) {
33 echo '<div class="ph-pos-total-to-pay ph-right">' . $price->getPriceFormat($this->t['total'][0]['brutto_currency'], 0, 1).'</div>';
34 //$totalAmount = $this->t['total'][0]['brutto_currency'];
35 } else if ($this->t['total'][0]['brutto'] !== 0) {
36 echo '<div class="ph-pos-total-to-pay ph-right">' . $price->getPriceFormat($this->t['total'][0]['brutto']).'</div>';
37 //$totalAmount = $this->t['total'][0]['brutto'];
38}
Warning: Undefined array key "brutto_currency" in C:\xampp\htdocs\picofino\components\com_phocacart\views\pos\tmpl\default_main_content_payment.php on line 32
Warning: Undefined array key "brutto_currency" in C:\xampp\htdocs\picofino\components\com_phocacart\views\pos\tmpl\default_main_content_payment.php on line 33
32 if ($this->t['total'][0]['brutto_currency'] !== 0) {
33 echo '<div class="ph-pos-total-to-pay ph-right">' . $price->getPriceFormat($this->t['total'][0]['brutto_currency'], 0, 1).'</div>';
34 //$totalAmount = $this->t['total'][0]['brutto_currency'];
35 } else if ($this->t['total'][0]['brutto'] !== 0) {
36 echo '<div class="ph-pos-total-to-pay ph-right">' . $price->getPriceFormat($this->t['total'][0]['brutto']).'</div>';
37 //$totalAmount = $this->t['total'][0]['brutto'];
38}