Commit old changes
This commit is contained in:
@@ -49,10 +49,10 @@
|
||||
$newPositionList = array();
|
||||
$total_netto = 0; $total_brutto = 0; $total_discount = 0; $vats = array();
|
||||
foreach ( $sale->position_list as $product ) {
|
||||
echo 'Produkt: '.$product->product_code.'';
|
||||
$p = getProduct($product->product_code);
|
||||
echo 'Produkt: '.$product->product_code;
|
||||
$p = getProduct(trim($product->product_code));
|
||||
if (!$p) {
|
||||
echo ' Produkt nie istnieje w bazie E5<br>';
|
||||
echo ' (produkt nie istnieje w bazie E5)<br>';
|
||||
$gotAllProducts = false;
|
||||
continue;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user