EDI improvements

This commit is contained in:
Michał Zieliński
2025-08-26 19:42:19 +02:00
parent a5139813ae
commit 4bcaf85b6c
2 changed files with 14 additions and 4 deletions

View File

@@ -61,8 +61,8 @@ function checkEDISales()
$s->number = $number;
$s->document_no = $s->formatNumber($number);
$s->edi_file = $order;
$s->type = 'sales_order';
$s->status = 's60';
$s->type = 'abf8f342-13de-bb9f-7848-687897a3b953';
$s->status = 's30';
$s->ecmlanguage = 'pl_pl';
$a = new Account();
$a->retrieve($s->parent_id);
@@ -77,7 +77,7 @@ function checkEDISales()
}
$s->total_netto = $sum_netto;
if ($s->parent_id == 134 || $s->parent_id == '134') {
if ($s->parent_id == 134 || $s->parent_id == '134') { // carrefour
$s->shop_number = null;
}