AdminBilling extends AppController
Admin Billing Management
Table of Contents
Methods
| batch() | Batch process invoices |
| export() | Export billing related data (transactions applied, transactions received, tax liability, invoice summary) |
| index() | Billing overview |
| invoiceApplied() | AJAX request for all transactions an invoice has applied |
| invoices() | List invoices |
| manageWidgets() | Enable/Disable widgets from appearing on the dashboard |
| preAction() | Billing pre-action |
| printQueue() | Invoice Print Queue |
| quotationInvoices() | AJAX request for all invoices associated to a quotation |
| quotations() | List quotations |
| serviceInfo() | AJAX |
| services() | List services |
| transactionApplied() | AJAX request for all invoices a transaction has been applied to |
| transactions() | List transactions |
| updateDashboard() | Renders a box to select the dashboard layout to use, and sets it |
| verifyPassphrase() | Verify the given passphrase is valid |
| updateServices() | Updates the given services to change their scheduled cancellation date |
Methods
batch()
Batch process invoices
public
batch() : mixed
export()
Export billing related data (transactions applied, transactions received, tax liability, invoice summary)
public
export() : mixed
index()
Billing overview
public
index() : mixed
invoiceApplied()
AJAX request for all transactions an invoice has applied
public
invoiceApplied() : mixed
invoices()
List invoices
public
invoices() : mixed
manageWidgets()
Enable/Disable widgets from appearing on the dashboard
public
manageWidgets() : mixed
preAction()
Billing pre-action
public
preAction() : mixed
printQueue()
Invoice Print Queue
public
printQueue() : mixed
quotationInvoices()
AJAX request for all invoices associated to a quotation
public
quotationInvoices() : mixed
quotations()
List quotations
public
quotations() : mixed
serviceInfo()
AJAX
public
serviceInfo() : mixed
services()
List services
public
services() : mixed
transactionApplied()
AJAX request for all invoices a transaction has been applied to
public
transactionApplied() : mixed
transactions()
List transactions
public
transactions() : mixed
updateDashboard()
Renders a box to select the dashboard layout to use, and sets it
public
updateDashboard() : mixed
verifyPassphrase()
Verify the given passphrase is valid
public
verifyPassphrase() : mixed
updateServices()
Updates the given services to change their scheduled cancellation date
private
updateServices(array<string|int, mixed> $data) : mixed
Parameters
- $data : array<string|int, mixed>
-
An array of POST data including:
- service_ids An array of each service ID
- action The action to perform, e.g. "schedule_cancelation"
- action_type The type of action to perform, e.g. "term", "date"
- date The cancel date if the action type is "date"
Return values
mixed —An array of errors, or false otherwise