mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-05-26 17:26:37 -04:00
* fix: capture CSV import failures in save_tax_data and save_inventory_quantities - Change save_tax_data() return type from void to bool - Change save_inventory_quantities() return type from void to bool - Accumulate failure status with &= operator in save_inventory_quantities - Update postImportCsvFile() to capture return values and set isFailedRow - Properly propagate failures to failCodes array Fixes #4475 * fix: Change isset to !empty for items_taxes_data check - isset was always true since array was initialized - Use !empty to properly check if there are tax items to save Address CodeRabbit review feedback * fix: Capture inventory insert result in save_inventory_quantities - Combine inventory insert result with success tracking - Use &= operator to accumulate failures from both operations - Ensure failures from inventory inserts are propagated Address CodeRabbit review feedback --------- Co-authored-by: Ollama <ollama@steganos.dev>
57 KiB
57 KiB