ERP-System f9aac2db37 fix(vehicles): serialize booleans as 1/0 in multipart payload
The vehicle form uploads as multipart/form-data for the image, and the
FormData builder stringified every value, turning has_insurance=false into
the literal "false". Laravel's boolean rule rejects "true"/"false" strings,
producing "The has insurance field must be true or false." Serialize
booleans as "1"/"0" so they validate; null values remain skipped (nullable).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-08 13:45:04 +04:00
..
2026-04-07 06:32:40 +03:00
2026-04-07 07:07:02 +03:00
2026-04-07 06:32:40 +03:00
2026-04-06 02:32:47 +03:00
2026-04-06 02:32:47 +03:00
2026-04-06 02:32:47 +03:00
2026-04-07 06:32:40 +03:00
2026-04-06 02:32:47 +03:00
2026-04-23 14:38:41 +03:00
2026-04-23 14:38:41 +03:00
2026-03-27 16:20:46 +03:00
2026-04-01 15:34:50 +03:00
2026-04-06 02:32:47 +03:00
2026-05-07 13:32:35 +03:00
2026-04-07 06:32:40 +03:00
2026-04-06 02:32:47 +03:00
2026-03-27 16:20:46 +03:00
2026-04-06 02:32:47 +03:00
2026-04-23 14:38:41 +03:00
2026-04-30 19:03:31 +03:00
2026-04-07 06:32:40 +03:00
2026-04-06 02:32:47 +03:00
2026-04-09 15:23:36 +03:00
2026-04-06 02:32:47 +03:00
2026-04-07 06:32:40 +03:00
2026-04-07 06:32:40 +03:00
2026-04-07 06:32:40 +03:00
2026-04-07 06:32:40 +03:00
2026-04-07 06:32:40 +03:00
2026-04-07 06:32:40 +03:00
2026-04-06 02:32:47 +03:00
2026-04-07 06:32:40 +03:00
2026-04-06 02:32:47 +03:00
2026-04-06 02:32:47 +03:00
2026-04-06 02:32:47 +03:00
2026-04-06 02:32:47 +03:00
2026-04-06 02:32:47 +03:00
2026-04-09 15:17:07 +03:00
2026-03-27 16:20:46 +03:00
2026-04-07 06:32:40 +03:00
2026-03-27 16:20:46 +03:00
2026-04-07 06:32:40 +03:00
2026-04-07 06:32:40 +03:00
2026-04-07 06:32:40 +03:00
2026-04-07 06:32:40 +03:00
2026-04-07 06:32:40 +03:00
2026-04-06 02:32:47 +03:00
2026-03-27 16:20:46 +03:00
2026-04-01 15:34:50 +03:00
2026-04-06 02:32:47 +03:00