query("SELECT * FROM branches")->fetchAll(); $current_branch = array_filter($branches, fn($b) => $b['id'] == $current_branch_id); $current_branch = reset($current_branch); $products = $db->query("SELECT p.*, c.name as category_name FROM products p LEFT JOIN categories c ON p.category_id = c.id WHERE p.branch_id = $current_branch_id AND p.stock > 0 ORDER BY p.name ASC")->fetchAll(); $members = $db->query("SELECT * FROM members ORDER BY name ASC")->fetchAll(); ?> POS - Kasir

Produk tidak tersedia. Silakan tambah produk terlebih dahulu.

Rp
Rp MEMBER
Stok:
Keranjang Belanja
Poin: 0
1 Poin = Rp 1
Subtotal Rp 0
Hemat Member - Rp 0
Tukar Poin - Rp 0
Diskon Voucher - Rp 0
Poin Didapat 0 Pts

Total Akhir

Rp 0