magnusbilling7
magnusbilling7 copied to clipboard
DID Rate Assignment Logic for Resellers
Is your feature request related to a problem? Please describe. When assigning a DID to a direct client, the system: Deducts the DID cost. Logs the deduction in the refill table. Automatically repeats this deduction monthly.
When assigning a DID to a reseller’s customer, the system: Deducts from the reseller’s balance, but: Doesn’t log it in refill (missing traceability). Doesn’t auto-deduct monthly. Doesn’t handle margin or reseller-assigned pricing.
Describe the solution you'd like
Enhance the DID assignment interface so: Admin can assign a rate to the reseller for each DID. Reseller can assign their own rate for their customer after adding its margin.
And through cron job it deducts the amount on auto basis of deduct from Reseller balance for Admin users same like for direct client and for Reseller from its customers balance and log deduciton in refill as well