Wire POS register loyalty earn and redeem through CRM.
Deploy Ladill POS / deploy (push) Has been cancelled

Redeem at charge, earn on payment, reverse on cancel, and surface
balances on the till, customer display, sales, and receipts.
This commit is contained in:
isaacclad
2026-07-15 15:46:28 +00:00
parent 38b7f96714
commit 468346b183
12 changed files with 680 additions and 25 deletions
+7
View File
@@ -52,6 +52,10 @@ class PosSale extends Model
'customer_phone',
'crm_customer_id',
'subtotal_minor',
'loyalty_discount_minor',
'loyalty_points_redeemed',
'loyalty_points_earned',
'loyalty_external_ref',
'total_minor',
'currency',
'paid_at',
@@ -64,6 +68,9 @@ class PosSale extends Model
{
return [
'subtotal_minor' => 'integer',
'loyalty_discount_minor' => 'integer',
'loyalty_points_redeemed' => 'integer',
'loyalty_points_earned' => 'integer',
'total_minor' => 'integer',
'pay_order_id' => 'integer',
'crm_customer_id' => 'integer',