{
  "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-03 08:48:05"
    },
    {
      "id": 2,
      "name": "ali",
      "last_name": "nadeem",
      "phone": "",
      "passport_no": "P0948485844",
      "email": "",
      "gender": "Male",
      "date_of_birth": null,
      "created_at": "2026-07-03 08:48:11"
    }
  ],
  "wallet_balance": [
    {
      "id": 1,
      "real_balance": 4000,
      "total_paid_to_suppliers": 0,
      "updated_at": "2026-07-03 08:50:37"
    }
  ],
  "roles": [
    {
      "id": 1,
      "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-03 08:47:57"
    },
    {
      "id": 2,
      "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-03 08:47:57"
    },
    {
      "id": 3,
      "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-03 08:47:57"
    },
    {
      "id": 4,
      "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-03 08:47:57"
    },
    {
      "id": 5,
      "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-03 08:47:57"
    }
  ],
  "visa_applications": [],
  "wallets": [
    {
      "id": 1,
      "customer_id": 1,
      "balance": 2000,
      "total_deposited": 2000,
      "total_used": 0
    },
    {
      "id": 2,
      "customer_id": 2,
      "balance": 2000,
      "total_deposited": 2000,
      "total_used": 0
    }
  ],
  "bookings": [
    {
      "id": 1,
      "customer_id": 2,
      "passenger_name": "ali nadeem",
      "passenger_passport": "P0948485844",
      "passenger_phone": "",
      "flight_origin": "kabul",
      "flight_destination": "mazar",
      "flight_date": "2026-07-03",
      "flight_time": null,
      "flight_number": "Km09777",
      "airline": null,
      "baggage_allowance": "",
      "amount": 1000,
      "supplier_price": 900,
      "profit": 100,
      "supplier_id": 1,
      "supplier_name": null,
      "pnr": "ek5544",
      "ticket_number": "E34256666",
      "currency": "USD",
      "amount_original": 1000,
      "supplier_price_original": 900,
      "status": "pending",
      "created_at": "2026-07-03 08:48:59",
      "payer_customer_id": 1,
      "payer_name": null
    },
    {
      "id": 2,
      "customer_id": 2,
      "passenger_name": "ali nadeem",
      "passenger_passport": "P0948485844",
      "passenger_phone": "",
      "flight_origin": "kabul",
      "flight_destination": "mazar",
      "flight_date": "2026-07-03",
      "flight_time": null,
      "flight_number": "Km09777",
      "airline": null,
      "baggage_allowance": "",
      "amount": 2000,
      "supplier_price": 1800,
      "profit": 200,
      "supplier_id": 1,
      "supplier_name": null,
      "pnr": "ek5544",
      "ticket_number": "E34256666",
      "currency": "USD",
      "amount_original": 2000,
      "supplier_price_original": 1800,
      "status": "pending",
      "created_at": "2026-07-03 08:50:01",
      "payer_customer_id": null,
      "payer_name": null
    }
  ],
  "airlines": [
    {
      "id": 1,
      "code": "001",
      "name": "Kam Air",
      "contact": "0744556677",
      "balance": 2300,
      "status": "active",
      "created_at": "2026-07-03 08:48:32"
    }
  ],
  "visa_partners": [],
  "other_services": [],
  "refunds": [],
  "employees": [],
  "attendance": [],
  "transactions": [],
  "salary_payments": [],
  "afn_transactions": [],
  "users": [
    {
      "id": 1,
      "username": "Abdul Waris",
      "email": "admin@hawamazal.com",
      "password": "$2a$10$3gvul.0277uMvKuW1HzV8uYi5hSN4PAm8s4LC5RtXcmw82RXfEOWS",
      "role": "admin",
      "status": "active",
      "fullname": "Abdul Waris",
      "phone": null,
      "share_percentage": 0,
      "last_login": null,
      "created_at": "2026-07-03 08:47:57"
    }
  ],
  "wallet_transactions": [
    {
      "id": 1,
      "customer_id": 1,
      "type": "deposit",
      "amount": 2000,
      "amount_original": 0,
      "currency": "USD",
      "balance_before": 0,
      "balance_after": 2000,
      "reference": null,
      "notes": "",
      "created_at": "2026-07-03 08:48:19"
    },
    {
      "id": 2,
      "customer_id": 1,
      "type": "withdraw",
      "amount": 1000,
      "amount_original": 1000,
      "currency": "USD",
      "balance_before": 2000,
      "balance_after": 1000,
      "reference": "Ticket #1",
      "notes": "Payment for ticket - kabul→mazar",
      "created_at": "2026-07-03 08:48:59"
    },
    {
      "id": 3,
      "customer_id": 1,
      "type": "deposit",
      "amount": 1000,
      "amount_original": 0,
      "currency": "USD",
      "balance_before": 1000,
      "balance_after": 2000,
      "reference": "Revert #1",
      "notes": "Reverted payment for ticket #1",
      "created_at": "2026-07-03 08:49:29"
    },
    {
      "id": 4,
      "customer_id": 2,
      "type": "deposit",
      "amount": 2000,
      "amount_original": 0,
      "currency": "USD",
      "balance_before": 0,
      "balance_after": 2000,
      "reference": "Revert #2",
      "notes": "Reverted payment for ticket #2",
      "created_at": "2026-07-03 08:50:23"
    }
  ],
  "intermediary_transactions": [],
  "supplier_wallet_transactions": [],
  "intermediary_accounts": []
}