{
  "customer_wallet_balances": [],
  "agents": [],
  "agent_wallet_balances": [],
  "agent_transactions": [],
  "agent_commissions": [],
  "bank_accounts": [
    {
      "id": 1,
      "currency": "USD",
      "balance": 0,
      "total_income": 0,
      "total_expenses": 0,
      "total_profit": 0,
      "created_at": "2026-08-12 17:21:28",
      "updated_at": "2026-08-12 17:21:28"
    },
    {
      "id": 2,
      "currency": "EUR",
      "balance": 0,
      "total_income": 0,
      "total_expenses": 0,
      "total_profit": 0,
      "created_at": "2026-08-12 17:21:28",
      "updated_at": "2026-08-12 17:21:28"
    },
    {
      "id": 3,
      "currency": "AFN",
      "balance": 2000,
      "total_income": 9560,
      "total_expenses": 1350,
      "total_profit": 8210,
      "created_at": "2026-08-12 17:21:28",
      "updated_at": "2026-08-12 17:42:53"
    },
    {
      "id": 4,
      "currency": "PKR",
      "balance": 0,
      "total_income": 0,
      "total_expenses": 0,
      "total_profit": 0,
      "created_at": "2026-08-12 17:21:28",
      "updated_at": "2026-08-12 17:21:28"
    }
  ],
  "bank_transactions": [
    {
      "id": 7,
      "currency": "AFN",
      "type": "income",
      "amount": 500,
      "balance_before": 2000,
      "balance_after": 2500,
      "description": "موجودی اولیه",
      "category": "Other Income",
      "reference": "Transaction #7",
      "transaction_type": null,
      "booking_id": null,
      "amount_original": null,
      "currency_original": null,
      "transaction_id": null,
      "agent_id": null,
      "created_by": 1,
      "track_type": "treasure",
      "supplier_id": null,
      "created_at": "2026-08-12 17:33:52",
      "visa_id": null,
      "umrah_id": null,
      "updated_at": "2026-08-12 17:33:52"
    },
    {
      "id": 8,
      "currency": "AFN",
      "type": "income",
      "amount": 300,
      "balance_before": 2500,
      "balance_after": 2800,
      "description": "موجودی اولیه",
      "category": "Other Income",
      "reference": "Transaction #8",
      "transaction_type": null,
      "booking_id": null,
      "amount_original": null,
      "currency_original": null,
      "transaction_id": null,
      "agent_id": null,
      "created_by": 1,
      "track_type": "treasure",
      "supplier_id": null,
      "created_at": "2026-08-12 17:34:04",
      "visa_id": null,
      "umrah_id": null,
      "updated_at": "2026-08-12 17:34:04"
    },
    {
      "id": 9,
      "currency": "AFN",
      "type": "expense",
      "amount": 300,
      "balance_before": 2000,
      "balance_after": 1700,
      "description": "نان چاشت",
      "category": "Other Expense",
      "reference": "Transaction #9",
      "transaction_type": null,
      "booking_id": null,
      "amount_original": null,
      "currency_original": null,
      "transaction_id": null,
      "agent_id": null,
      "created_by": 1,
      "track_type": "treasure",
      "supplier_id": null,
      "created_at": "2026-08-12 17:37:36",
      "visa_id": null,
      "umrah_id": null,
      "updated_at": "2026-08-12 17:37:36"
    }
  ],
  "intermediary_accounts": [],
  "intermediary_transactions": [],
  "supplier_wallet_balances": [],
  "supplier_wallet_transactions": [],
  "wallet_balance": [
    {
      "id": 1,
      "real_balance": 0,
      "total_paid_to_suppliers": 0,
      "updated_at": "2026-08-12 17:21:29"
    }
  ],
  "umrah_packages": [],
  "roles": [
    {
      "id": 1,
      "name": "admin",
      "description": "Full system access",
      "permissions": "{\"dashboard\":\"full\",\"tickets\":\"full\",\"visa\":\"full\",\"bank\":\"full\",\"wallets\":\"full\",\"customers\":\"full\",\"suppliers\":\"full\",\"refunds\":\"full\",\"reports\":\"full\",\"employees\":\"full\",\"users\":\"full\",\"settings\":\"full\"}",
      "created_at": "2026-08-12 17:21:28"
    },
    {
      "id": 2,
      "name": "manager",
      "description": "Manage operations but not financial settings",
      "permissions": "{\"dashboard\":\"full\",\"tickets\":\"full\",\"visa\":\"full\",\"bank\":\"view\",\"wallets\":\"view\",\"customers\":\"full\",\"suppliers\":\"view\",\"refunds\":\"full\",\"reports\":\"full\",\"employees\":\"view\",\"users\":\"none\",\"settings\":\"none\"}",
      "created_at": "2026-08-12 17:21:28"
    },
    {
      "id": 3,
      "name": "agent",
      "description": "Sales agent - manage tickets and visas",
      "permissions": "{\"dashboard\":\"view\",\"tickets\":\"full\",\"visa\":\"full\",\"bank\":\"none\",\"wallets\":\"none\",\"customers\":\"full\",\"suppliers\":\"view\",\"refunds\":\"none\",\"reports\":\"view\",\"employees\":\"none\",\"users\":\"none\",\"settings\":\"none\"}",
      "created_at": "2026-08-12 17:21:28"
    },
    {
      "id": 4,
      "name": "accountant",
      "description": "Financial management",
      "permissions": "{\"dashboard\":\"view\",\"tickets\":\"view\",\"visa\":\"view\",\"bank\":\"full\",\"wallets\":\"full\",\"customers\":\"view\",\"suppliers\":\"view\",\"refunds\":\"view\",\"reports\":\"full\",\"employees\":\"view\",\"users\":\"none\",\"settings\":\"none\"}",
      "created_at": "2026-08-12 17:21:28"
    },
    {
      "id": 5,
      "name": "viewer",
      "description": "Read-only access",
      "permissions": "{\"dashboard\":\"view\",\"tickets\":\"view\",\"visa\":\"view\",\"bank\":\"view\",\"wallets\":\"view\",\"customers\":\"view\",\"suppliers\":\"view\",\"refunds\":\"view\",\"reports\":\"view\",\"employees\":\"view\",\"users\":\"none\",\"settings\":\"none\"}",
      "created_at": "2026-08-12 17:21:28"
    }
  ],
  "bookings": [],
  "visa_applications": [],
  "wallets": [],
  "transactions": [
    {
      "id": 6,
      "type": "income",
      "category": "Other Income",
      "description": "موجودی اولیه",
      "amount": 2000,
      "date": "2026-08-12",
      "payment_method": "cash",
      "reference": "",
      "profit": 0,
      "currency": "AFN",
      "amount_original": 2000,
      "balance_before": 0,
      "balance_after": 0,
      "transaction_type": "bank",
      "affects_profit": 1,
      "payment_method_type": "treasure",
      "target_agent_id": null,
      "source_type": "manual",
      "approved_by": null,
      "approval_reference": null,
      "reference_id": null,
      "reference_type": null,
      "is_reversal": 0,
      "reversed_from_id": null,
      "notes": null,
      "track_type": "no_track",
      "affects_bank": 1,
      "booking_id": null,
      "visa_id": null,
      "umrah_id": null,
      "supplier_id": null,
      "customer_id": null,
      "agent_id": null,
      "created_by": null,
      "created_at": "2026-08-12 17:29:41",
      "updated_at": "2026-08-12 17:29:41"
    }
  ],
  "airlines": [],
  "visa_partners": [],
  "other_services": [],
  "refunds": [],
  "exchange_rates": [
    {
      "id": 1,
      "currency": "USD",
      "rate_to_usd": 1,
      "updated_at": "2026-08-12 17:21:28"
    },
    {
      "id": 2,
      "currency": "AFN",
      "rate_to_usd": 65.62,
      "updated_at": "2026-08-12 17:21:28"
    },
    {
      "id": 3,
      "currency": "PKR",
      "rate_to_usd": 277.96,
      "updated_at": "2026-08-12 17:21:28"
    },
    {
      "id": 4,
      "currency": "EUR",
      "rate_to_usd": 0.866,
      "updated_at": "2026-08-12 17:21:29"
    }
  ],
  "agent_settlements": [],
  "salary_payments": [],
  "afn_transactions": [],
  "sales": [],
  "expenses": [
    {
      "id": 1,
      "booking_id": null,
      "reference_type": null,
      "amount": 400,
      "currency": "AFN",
      "expense_date": "2026-08-12",
      "category": "Other Expense",
      "description": "نان چاشت",
      "payment_method": "cash",
      "created_at": "2026-08-12 17:23:25"
    },
    {
      "id": 2,
      "booking_id": null,
      "reference_type": null,
      "amount": 300,
      "currency": "AFN",
      "expense_date": "2026-08-12",
      "category": "Other Expense",
      "description": "نان چاشت",
      "payment_method": "cash",
      "created_at": "2026-08-12 17:28:54"
    },
    {
      "id": 3,
      "booking_id": null,
      "reference_type": null,
      "amount": 300,
      "currency": "AFN",
      "expense_date": "2026-08-12",
      "category": "Other Expense",
      "description": "نان چاشت",
      "payment_method": "cash",
      "created_at": "2026-08-12 17:37:36"
    },
    {
      "id": 4,
      "booking_id": null,
      "reference_type": null,
      "amount": 350,
      "currency": "AFN",
      "expense_date": "2026-08-12",
      "category": "Other Expense",
      "description": "کراه دفتر",
      "payment_method": "cash",
      "created_at": "2026-08-12 17:39:36"
    }
  ],
  "ledger_entries": [],
  "date_changes": [],
  "attendance": [],
  "customers": [],
  "users": [
    {
      "id": 1,
      "username": "admin",
      "email": "admin@hawamazal.com",
      "password": "$2a$10$emrHjiMlEZDiUX5kisFopeeQVdHWLerpNt8ZSf7yuVjw6kf8frlGK",
      "role": "admin",
      "status": "active",
      "fullname": "System Administrator",
      "phone": null,
      "share_percentage": 0,
      "last_login": null,
      "created_at": "2026-08-12 17:21:28",
      "position": null,
      "is_employee": 0,
      "employee_status": "active",
      "address": null,
      "hire_date": null,
      "salary": 0
    }
  ],
  "wallet_transactions": []
}