Create
Query
billing.db
—
agent_voucher_sales
admin_notifications
agent_balance_requests
agent_balances
agent_monthly_payments
agent_notifications
agent_payments
agent_transactions
agent_voucher_sales
agents
app_settings
cable_maintenance_logs
cable_routes
collector_assignments
collector_payments
collectors
customers
expenses
installation_job_equipment
installation_job_stat...
installation_jobs
invoices
migrations
monthly_summary
network_segments
odp_connections
odps
onu_devices
packages
payment_gateway_trans...
payments
sqlite_sequence
technician_activities
technician_sessions
technicians
telegram_sessions
trouble_reports
voucher_delivery_logs
voucher_generation_se...
voucher_online_settings
voucher_pricing
voucher_purchases
Toggle helper tables
Structure
Content
Query
Insert
Drop
Import
Export
Insert row into agent_voucher_sales
agent_id
INTEGER NOT NULL
voucher_code
TEXT NOT NULL
package_id
TEXT NOT NULL
package_name
TEXT NOT NULL
customer_phone
TEXT
customer_name
TEXT
price
DECIMAL(10,2) NOT NULL
commission
DECIMAL(10,2) (default 0.00)
status
TEXT (default 'active')
sold_at
DATETIME (default CURRENT_TIMESTAMP)
used_at
DATETIME
notes
TEXT
agent_price
DECIMAL(10,2) (default 0.00)
commission_amount
DECIMAL(10,2) (default 0.00)
Insert
Cancel