['en' => 'Dashboard', 'ar' => 'لوحة القيادة'], 'pos' => ['en' => 'Point of Sale', 'ar' => 'نقطة البيع'], 'customers' => ['en' => 'Customers', 'ar' => 'العملاء'], 'suppliers' => ['en' => 'Suppliers', 'ar' => 'الموردون'], 'categories' => ['en' => 'Stock Categories', 'ar' => 'فئات المخزون'], 'units' => ['en' => 'Stock Units', 'ar' => 'وحدات المخزون'], 'items' => ['en' => 'Stock Items', 'ar' => 'أصناف المخزون'], 'payment_methods' => ['en' => 'Payment Methods', 'ar' => 'طرق الدفع'], 'sales' => ['en' => 'Sales Tax Invoices', 'ar' => 'فواتير المبيعات الضريبية'], 'purchases' => ['en' => 'Purchase Tax Invoices', 'ar' => 'فواتير المشتريات الضريبية'], 'customer_statement' => ['en' => 'Customer Statement', 'ar' => 'كشف حساب عميل'], 'supplier_statement' => ['en' => 'Supplier Statement', 'ar' => 'كشف حساب مورد'], 'settings' => ['en' => 'Company Profile', 'ar' => 'ملف الشركة'], ]; $currTitle = $titles[$page] ?? $titles['dashboard']; ?>

Total Sales
OMR
Total Received
OMR
Total Receivable
OMR
Total Purchases
OMR
Total Paid to Suppliers
OMR
Total Payable
OMR
Total Customers
Total Items
Recent Customers
View All
Name Phone Balance
OMR
Quick Links
Sales Tax Invoices Purchase Tax Invoices
Management
Export
Name Tax ID Email Phone Balance Actions
OMR
Stock Categories
ID Name (EN) Name (AR)
Stock Units
Name (EN) Short (EN) Name (AR) Short (AR)
Stock Items
Export
Image SKU Name Category Supplier Stock Level Expiry VAT Actions
item
Min:
Low Stock
%
query("SELECT * FROM stock_items WHERE stock_quantity > 0 ORDER BY name_en ASC")->fetchAll(PDO::FETCH_ASSOC); $customers = db()->query("SELECT * FROM customers WHERE type = 'customer' ORDER BY name ASC")->fetchAll(PDO::FETCH_ASSOC); ?>
<?= htmlspecialchars($p['name_en']) ?>
OMR left
Cart

Cart is empty

Subtotal OMR 0.000
Total OMR 0.000
prepare("SELECT ii.*, i.name_en, i.name_ar, i.vat_rate FROM invoice_items ii JOIN stock_items i ON ii.item_id = i.id WHERE ii.invoice_id = ?"); $items->execute([$inv['id']]); $inv['items'] = $items->fetchAll(PDO::FETCH_ASSOC); ?>
Invoice # Date Status Total Paid Balance Actions
INV- OMR OMR OMR

Statement of Account

|
Period: to

Date Reference Description Debit Credit Balance
0 ? number_format($debit, 3) : '' ?> 0 ? number_format($credit, 3) : '' ?>
Closing Balance OMR

Please select an entity and date range to generate the statement.

Payment Methods
ID Name (EN) Name (AR) Actions