chore: initial commit Dutra Store POS app

This commit is contained in:
Onie
2026-07-23 22:12:32 +07:00
commit 22356f630e
175 changed files with 13934 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
-- Migration: add payment method fields to sales table
-- Run this in Supabase SQL Editor before using payment features
ALTER TABLE sales
ADD COLUMN IF NOT EXISTS payment_method text NOT NULL DEFAULT 'tunai',
ADD COLUMN IF NOT EXISTS split_payment jsonb;
-- Optional: add index for filtering by payment method
CREATE INDEX IF NOT EXISTS idx_sales_payment_method ON sales(payment_method);