{
  "customer_wallet_balances": [],
  "agents": [],
  "agent_wallet_balances": [],
  "agent_transactions": [],
  "agent_commissions": [],
  "agent_settlements": [],
  "bank_accounts": [
    {
      "id": 1,
      "currency": "USD",
      "balance": 0,
      "total_income": 0,
      "total_expenses": 0,
      "total_profit": 0,
      "created_at": "2026-07-19 08:51:12",
      "updated_at": "2026-07-19 08:51:12"
    },
    {
      "id": 2,
      "currency": "EUR",
      "balance": 200,
      "total_income": 200,
      "total_expenses": 0,
      "total_profit": 200,
      "created_at": "2026-07-19 08:51:12",
      "updated_at": "2026-07-19 08:58:18"
    },
    {
      "id": 3,
      "currency": "AFN",
      "balance": 9000,
      "total_income": 9000,
      "total_expenses": 0,
      "total_profit": 0,
      "created_at": "2026-07-19 08:51:12",
      "updated_at": "2026-07-19 08:52:05"
    },
    {
      "id": 4,
      "currency": "PKR",
      "balance": 0,
      "total_income": 0,
      "total_expenses": 0,
      "total_profit": 0,
      "created_at": "2026-07-19 08:51:12",
      "updated_at": "2026-07-19 08:51:12"
    }
  ],
  "bank_transactions": [
    {
      "id": 1,
      "currency": "USD",
      "type": "profit",
      "amount": 11.34,
      "balance_before": 0,
      "balance_after": 0,
      "description": "Ticket #1 profit",
      "category": "Profit",
      "reference": "Booking #1",
      "booking_id": 1,
      "supplier_id": null,
      "created_by": null,
      "created_at": "2026-07-19 08:52:05"
    },
    {
      "id": 2,
      "currency": "AFN",
      "type": "income",
      "amount": 9000,
      "balance_before": 9000,
      "balance_after": 18000,
      "description": "Ticket #1",
      "category": "Ticket Sale",
      "reference": "Booking #1",
      "booking_id": 1,
      "supplier_id": null,
      "created_by": null,
      "created_at": "2026-07-19 08:52:05"
    },
    {
      "id": 3,
      "currency": "EUR",
      "type": "income",
      "amount": 100,
      "balance_before": 0,
      "balance_after": 100,
      "description": "درصد از صرافی",
      "category": "Other Income",
      "reference": "Transaction #3",
      "booking_id": null,
      "supplier_id": null,
      "created_by": 1,
      "created_at": "2026-07-19 08:57:40"
    },
    {
      "id": 4,
      "currency": "USD",
      "type": "profit",
      "amount": 4.42,
      "balance_before": 0,
      "balance_after": 0,
      "description": "Ticket #2 profit",
      "category": "Profit",
      "reference": "Booking #2",
      "booking_id": 2,
      "supplier_id": null,
      "created_by": null,
      "created_at": "2026-07-19 08:58:18"
    },
    {
      "id": 5,
      "currency": "EUR",
      "type": "income",
      "amount": 100,
      "balance_before": 200,
      "balance_after": 300,
      "description": "Ticket #2",
      "category": "Ticket Sale",
      "reference": "Booking #2",
      "booking_id": 2,
      "supplier_id": null,
      "created_by": null,
      "created_at": "2026-07-19 08:58:18"
    }
  ],
  "intermediary_accounts": [],
  "intermediary_transactions": [],
  "supplier_wallet_balances": [
    {
      "id": 1,
      "supplier_id": 1,
      "balance": 0,
      "total_deposited": 0,
      "total_withdrawn": 0,
      "created_at": "2026-07-19 08:54:32",
      "updated_at": "2026-07-19 08:54:32"
    }
  ],
  "supplier_wallet_transactions": [
    {
      "id": 1,
      "supplier_id": 1,
      "type": "withdraw",
      "amount": 125,
      "balance_before": 2875,
      "balance_after": 2750,
      "reference": "Booking #1 - 332",
      "notes": "Debit for booking 1 - Status: confirmed",
      "created_at": "2026-07-19 08:52:05"
    },
    {
      "id": 2,
      "supplier_id": 1,
      "type": "withdraw",
      "amount": 110,
      "balance_before": 2765,
      "balance_after": 2655,
      "reference": "Booking #2 - 332",
      "notes": "Debit for booking 2 - Status: confirmed",
      "created_at": "2026-07-19 08:58:18"
    }
  ],
  "wallet_balance": [
    {
      "id": 1,
      "real_balance": 0,
      "total_paid_to_suppliers": 0,
      "updated_at": "2026-07-19 08:51:13"
    }
  ],
  "umrah_packages": [],
  "bookings": [
    {
      "id": 1,
      "customer_id": 1,
      "passenger_name": "AbdulBassir Mohammadi",
      "passenger_passport": "",
      "passenger_phone": "0774881183",
      "passenger_type": "adult",
      "flight_origin": "kabul",
      "flight_destination": "herat",
      "flight_date": "2026-07-19",
      "flight_time": null,
      "flight_number": null,
      "airline": null,
      "baggage_allowance": null,
      "amount": 136.34,
      "supplier_price": 125,
      "profit": 11.34,
      "supplier_id": 1,
      "supplier_name": null,
      "pnr": "1213",
      "ticket_number": "332",
      "currency": "AFN",
      "amount_original": 9000,
      "supplier_price_original": 0,
      "status": "confirmed",
      "track_type": "treasure",
      "agent_id": null,
      "booking_type": "individual",
      "group_size": null,
      "return_date": null,
      "passengers": null,
      "need_visa": 0,
      "visa_type": null,
      "visa_country": null,
      "visa_fee": 0,
      "visa_fee_original": 0,
      "visa_currency": null,
      "visa_supplier_price": 0,
      "visa_supplier_id": null,
      "visa_notes": null,
      "visa_customer_price": 0,
      "visa_profit": 0,
      "payer_customer_id": null,
      "payer_name": null,
      "created_at": "2026-07-19 08:52:05",
      "updated_at": "2026-07-19 08:52:05",
      "created_by": 1
    },
    {
      "id": 2,
      "customer_id": 1,
      "passenger_name": "AbdulBassir Mohammadi",
      "passenger_passport": "",
      "passenger_phone": "0774881183",
      "passenger_type": "adult",
      "flight_origin": "kabul",
      "flight_destination": "herat",
      "flight_date": "2026-07-19",
      "flight_time": null,
      "flight_number": null,
      "airline": null,
      "baggage_allowance": null,
      "amount": 114.42,
      "supplier_price": 110,
      "profit": 4.42,
      "supplier_id": 1,
      "supplier_name": null,
      "pnr": "1213",
      "ticket_number": "332",
      "currency": "EUR",
      "amount_original": 100,
      "supplier_price_original": 0,
      "status": "confirmed",
      "track_type": "treasure",
      "agent_id": null,
      "booking_type": "individual",
      "group_size": null,
      "return_date": null,
      "passengers": null,
      "need_visa": 0,
      "visa_type": null,
      "visa_country": null,
      "visa_fee": 0,
      "visa_fee_original": 0,
      "visa_currency": null,
      "visa_supplier_price": 0,
      "visa_supplier_id": null,
      "visa_notes": null,
      "visa_customer_price": 0,
      "visa_profit": 0,
      "payer_customer_id": null,
      "payer_name": null,
      "created_at": "2026-07-19 08:58:18",
      "updated_at": "2026-07-19 08:58:18",
      "created_by": 1
    }
  ],
  "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-07-19 08:51:12"
    },
    {
      "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-07-19 08:51:12"
    },
    {
      "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-07-19 08:51:12"
    },
    {
      "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-07-19 08:51:12"
    },
    {
      "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-07-19 08:51:12"
    }
  ],
  "wallets": [],
  "transactions": [
    {
      "id": 1,
      "type": "profit",
      "category": "Profit",
      "description": "Ticket #1 profit - kabul→herat",
      "amount": 11.34,
      "date": "2026-07-19",
      "payment_method": "system",
      "reference": null,
      "profit": 0,
      "currency": "USD",
      "amount_original": 11.34,
      "balance_before": 0,
      "balance_after": 0,
      "transaction_type": "system",
      "booking_id": null,
      "supplier_id": null,
      "customer_id": null,
      "agent_id": null,
      "created_by": null,
      "created_at": "2026-07-19 08:52:05"
    },
    {
      "id": 2,
      "type": "income",
      "category": "Ticket Sale",
      "description": "Ticket #1 - kabul→herat",
      "amount": 9000,
      "date": "2026-07-19",
      "payment_method": "system",
      "reference": null,
      "profit": 0,
      "currency": "AFN",
      "amount_original": 9000,
      "balance_before": 0,
      "balance_after": 0,
      "transaction_type": "system",
      "booking_id": null,
      "supplier_id": null,
      "customer_id": null,
      "agent_id": null,
      "created_by": null,
      "created_at": "2026-07-19 08:52:05"
    },
    {
      "id": 3,
      "type": "income",
      "category": "Other Income",
      "description": "درصد از صرافی",
      "amount": 100,
      "date": "2026-07-19",
      "payment_method": "cash",
      "reference": "",
      "profit": 30,
      "currency": "EUR",
      "amount_original": 100,
      "balance_before": 0,
      "balance_after": 0,
      "transaction_type": "bank",
      "booking_id": null,
      "supplier_id": null,
      "customer_id": null,
      "agent_id": null,
      "created_by": null,
      "created_at": "2026-07-19 08:57:40"
    },
    {
      "id": 4,
      "type": "profit",
      "category": "Profit",
      "description": "Profit from درصد از صرافی",
      "amount": 30,
      "date": "2026-07-19",
      "payment_method": "system",
      "reference": null,
      "profit": 0,
      "currency": "EUR",
      "amount_original": 100,
      "balance_before": 0,
      "balance_after": 0,
      "transaction_type": "bank",
      "booking_id": null,
      "supplier_id": null,
      "customer_id": null,
      "agent_id": null,
      "created_by": null,
      "created_at": "2026-07-19 08:57:40"
    },
    {
      "id": 5,
      "type": "income",
      "category": "Ticket Sale",
      "description": "Ticket #2 - kabul→herat",
      "amount": 100,
      "date": "2026-07-19",
      "payment_method": "system",
      "reference": null,
      "profit": 0,
      "currency": "EUR",
      "amount_original": 100,
      "balance_before": 0,
      "balance_after": 0,
      "transaction_type": "system",
      "booking_id": null,
      "supplier_id": null,
      "customer_id": null,
      "agent_id": null,
      "created_by": null,
      "created_at": "2026-07-19 08:58:18"
    },
    {
      "id": 6,
      "type": "profit",
      "category": "Profit",
      "description": "Ticket #2 profit - kabul→herat",
      "amount": 4.42,
      "date": "2026-07-19",
      "payment_method": "system",
      "reference": null,
      "profit": 0,
      "currency": "USD",
      "amount_original": 4.42,
      "balance_before": 0,
      "balance_after": 0,
      "transaction_type": "system",
      "booking_id": null,
      "supplier_id": null,
      "customer_id": null,
      "agent_id": null,
      "created_by": null,
      "created_at": "2026-07-19 08:58:18"
    }
  ],
  "visa_applications": [],
  "airlines": [
    {
      "id": 1,
      "code": "01",
      "name": "kam air",
      "contact": "0788443322",
      "balance": 2765,
      "status": "active",
      "created_at": "2026-07-19 08:51:29"
    }
  ],
  "visa_partners": [],
  "other_services": [],
  "refunds": [],
  "employees": [],
  "salary_payments": [],
  "afn_transactions": [],
  "attendance": [],
  "customers": [
    {
      "id": 1,
      "name": "AbdulBassir",
      "last_name": "Mohammadi",
      "phone": "0774881183",
      "passport_no": "",
      "email": "abdulbassirmohammadi0110@gmail.com",
      "gender": "Male",
      "date_of_birth": null,
      "created_at": "2026-07-19 08:52:05"
    }
  ],
  "users": [
    {
      "id": 1,
      "username": "admin",
      "email": "admin@hawamazal.com",
      "password": "$2a$10$2fzjSJrg6bOgy25Mz80IyewjM6iptp7cRVYoG4xeNLd7EJNel37Ia",
      "role": "admin",
      "status": "active",
      "fullname": "System Administrator",
      "phone": null,
      "share_percentage": 0,
      "last_login": null,
      "created_at": "2026-07-19 08:51:12",
      "address": null,
      "salary": 0,
      "employee_status": "active",
      "position": null,
      "is_employee": 0,
      "hire_date": null
    }
  ],
  "wallet_transactions": []
}