export rewizor fix

This commit is contained in:
2025-08-21 18:12:57 +00:00
parent cc198d8c3c
commit b977d3786e

View File

@@ -132,7 +132,7 @@ function exportToRewizor($source, $date, $type)
$i['corrected_register_date'] = date("Ymd000000",strtotime(date('d.m.Y', strtotime($fv['register_date']))));
}
if ($source == 'amazon b2b') {
$i['category'] = 'Dostawa Wewnątrzwspólnotowa';
$i['category'] = 'WDT';
$i['parent_country_code'] = substr($i['parent_nip'], 0, 2);
$i['parent_name'] = $i['parent_name'] . ' ' . $i['parent_nip'];
$i['parent_hash'] = $i['parent_nip']; //substr(md5($i['parent_name']), 0, 20);