Files
apskel-pos-backend/internal/transformer
efrilmandClaude Opus 5.5 892575202b fix(orders): keep the customer a new order is created for
CreateOrderContractToModel never copied customer_id, so every order from
POST /orders was saved without a customer. Paying it then earned no
EnakPoint or EnakCoin (skipped as NO_CUSTOMER, which is not logged).

The customer must now belong to the order's organization, as
SetOrderCustomer already requires: it is who earns once the order is paid,
and orders.customer_id has no foreign key. A nil UUID means no customer.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 23:29:17 +07:00
..
2026-08-11 22:41:10 +07:00
2026-08-13 14:38:28 +07:00
2026-08-05 19:28:38 +07:00
2025-07-18 20:10:29 +07:00
2025-09-18 00:37:46 +07:00
2026-08-13 14:38:28 +07:00
2025-07-18 20:10:29 +07:00
2025-08-13 21:02:26 +07:00
2026-05-10 10:57:38 +07:00
2025-07-18 20:10:29 +07:00
2025-08-07 22:45:02 +07:00
2025-08-03 00:34:25 +07:00
2025-07-18 20:10:29 +07:00
2026-05-10 10:42:09 +07:00
2025-07-30 23:18:20 +07:00