['en' => 'Dashboard', 'ar' => 'لوحة القيادة'], 'pos' => ['en' => 'Point of Sale', 'ar' => 'نقطة البيع'], 'quotations' => ['en' => 'Quotations', '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' => 'فواتير المشتريات الضريبية'], 'sales_returns' => ['en' => 'Sales Returns', 'ar' => 'مرتجع المبيعات'], 'customer_statement' => ['en' => 'Customer Statement', 'ar' => 'كشف حساب عميل'], 'supplier_statement' => ['en' => 'Supplier Statement', 'ar' => 'كشف حساب مورد'], 'expiry_report' => ['en' => 'Expiry Report', 'ar' => 'تقرير انتهاء الصلاحية'], 'settings' => ['en' => 'Company Profile', 'ar' => 'ملف الشركة'], 'devices' => ['en' => 'Biometric Devices', 'ar' => 'أجهزة البصمة'], 'hr_departments' => ['en' => 'HR Departments', 'ar' => 'أقسام الموارد البشرية'], 'hr_employees' => ['en' => 'HR Employees', 'ar' => 'موظفي الموارد البشرية'], 'hr_attendance' => ['en' => 'HR Attendance', 'ar' => 'حضور الموارد البشرية'], 'hr_payroll' => ['en' => 'HR Payroll', 'ar' => 'رواتب الموارد البشرية'], 'cashflow_report' => ['en' => 'Cashflow Statement', 'ar' => 'قائمة التدفقات النقدية'], ]; $currTitle = $titles[$page] ?? $titles['dashboard']; ?>

0 || $data['stats']['near_expiry_items'] > 0): ?>
Inventory Alert: 0): ?> items have expired. 0): ?> items are expiring soon (within 30 days).
View Report
Total Sales
OMR
Total Received
OMR
Customer Due
OMR
Total Purchases
OMR
Total Paid
OMR
Supplier Due
OMR
Total Customers
Total Items
Sales Performance
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
%
Expiry Report
SKU Item Name Category Stock Level Expiry Date Status
No items found.
Expired Near Expiry Good
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
Quotations
Clear
prepare("SELECT qi.*, i.name_en, i.name_ar, i.vat_rate FROM quotation_items qi JOIN stock_items i ON qi.item_id = i.id WHERE qi.quotation_id = ?"); $items->execute([$q['id']]); $q['items'] = $items->fetchAll(PDO::FETCH_ASSOC); ?>
Quotation # Date Valid Until Customer Status Total Actions
QUO- OMR
No quotations found
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.

Cashflow Statement

Cashflow Statement

Period: to

0) $op_inflow += $amt; else $op_outflow += abs($amt); } elseif ($t['other_type'] === 'asset' && !in_array($t['other_account'], ['Accounts Receivable', 'Inventory'])) { // Fixed assets etc if ($amt > 0) $inv_inflow += $amt; else $inv_outflow += abs($amt); } elseif ($t['other_type'] === 'equity' || $t['other_type'] === 'liability') { if ($amt > 0) $fin_inflow += $amt; else $fin_outflow += abs($amt); } else { // Default to operating if unsure if ($amt > 0) $op_inflow += $amt; else $op_outflow += abs($amt); } } ?>
Description Amount (OMR)
Opening Cash Balance
Operating Activities
Cash Received from Customers & Others
Cash Paid to Suppliers & Expenses ()
Net Cash from Operating Activities
Investing Activities
Net Cash from Investing Activities
Financing Activities
Net Cash from Financing Activities
Net Change in Cash
Closing Cash Balance

___________________
Prepared By

___________________
Approved By

Payment Methods
ID Name (EN) Name (AR) Actions
Expense Categories
ID Name (EN) Name (AR) Actions
Accounting Module