class FormBank (View source)

Class to manage generation of HTML components for bank module

Properties

DoliDB $db
string $error

Methods

__construct(DoliDB $db)

Constructor

selectTypeOfBankAccount($selected = Account::TYPE_CURRENT, string $htmlname = 'type')

Retourne la liste des types de comptes financiers

static string
getIBANLabel(Account $account)

Returns the name of the Iban label. India uses 'IFSC' and the rest of the world 'IBAN' name.

Details

__construct(DoliDB $db)

Constructor

Parameters

DoliDB $db

Database handler

selectTypeOfBankAccount($selected = Account::TYPE_CURRENT, string $htmlname = 'type')

Retourne la liste des types de comptes financiers

@param integer $selected Type pre-selectionne

Parameters

$selected
string $htmlname

Nom champ formulaire @return void

static string getIBANLabel(Account $account)

Returns the name of the Iban label. India uses 'IFSC' and the rest of the world 'IBAN' name.

Parameters

Account $account

Account object

Return Value

string