Blesta Source Documentation

AdminCompanyBilling extends AdminController

Admin Company Billing Settings

Table of Contents

Methods

acceptedTypes() Accepted Payment Types for gateways
addCoupon() Add a coupon
coupons() Billing/Payment Coupons page
creditHandling() Credit Handling settings page
customization() Billing/Payment Invoice Customization Settings page
deleteCoupon() Deletes a coupon
deliveryMethods() Accepted invoice delivery methods
editCoupon() Edit a coupon
getPackageOptionDetails() AJAX endpoint to fetch package option values and type for a given package option
getPackageOptions() AJAX endpoint to fetch package options for a given package option group
index() Billing settings page
invoices() Billing/Payment Invoice and Charge Settings page
lateFees() Late fees
notices() Billing/Payment Notices Settings page
preAction() Pre-action
clientGroupSettingsExist() Checks if any client group has client-group-specific settings attached to it
formatCouponTerms() Formats terms into a numerically indexed array of periods and all their assigned terms
Methods

customization()

Billing/Payment Invoice Customization Settings page

public customization() : mixed

getPackageOptionDetails()

AJAX endpoint to fetch package option values and type for a given package option

public getPackageOptionDetails() : mixed

getPackageOptions()

AJAX endpoint to fetch package options for a given package option group

public getPackageOptions([mixed $default_group_id = null ]) : mixed
Parameters
$default_group_id : mixed = null

clientGroupSettingsExist()

Checks if any client group has client-group-specific settings attached to it

private clientGroupSettingsExist() : bool
Return values
bool

True if a client group exists with client-group-specific settings for this company, false otherwise

formatCouponTerms()

Formats terms into a numerically indexed array of periods and all their assigned terms

private formatCouponTerms(array<string|int, mixed> $terms) : A
Parameters
$terms : array<string|int, mixed>

The terms to format

Return values
A

list of periods and terms

Tags
subpackage

app.controllers

copyright

Copyright (c) 2010, Phillips Data, Inc.

license

http://www.blesta.com/license/ The Blesta License Agreement

link

Blesta


        
On this page

Search results