Merge and rename method into camel format
This commit is contained in:
parent
6e8b176d8d
commit
cbd102fa45
16
ChangeLog
16
ChangeLog
@ -12,6 +12,22 @@ Upgrading to any other version or any other database system is abolutely require
|
||||
make a Dolibarr upgrade.
|
||||
|
||||
|
||||
***** ChangeLog for 4.0 compared to 3.9.* *****
|
||||
For users:
|
||||
|
||||
For developers:
|
||||
|
||||
|
||||
WARNING:
|
||||
|
||||
Dolibarr 4.0 should be compatible with PHP 7 but more feedbacks are still expected to confirm that.
|
||||
|
||||
Following changes may create regression for some external modules, but were necessary to make
|
||||
Dolibarr better:
|
||||
- Method select_type_comptes_financiers() has been renamed into selectTypeOfBankAccount()
|
||||
|
||||
|
||||
|
||||
***** ChangeLog for 3.9.0 compared to 3.8.* *****
|
||||
For users:
|
||||
NEW: A new and more modern look for "eldy" theme.
|
||||
|
||||
@ -286,7 +286,7 @@ if ($action == 'create')
|
||||
// Type
|
||||
print '<tr><td class="fieldrequired">'.$langs->trans("AccountType").'</td>';
|
||||
print '<td colspan="3">';
|
||||
$formbank->select_type_comptes_financiers(isset($_POST["type"])?$_POST["type"]:1,"type");
|
||||
$formbank->selectTypeOfBankAccount(isset($_POST["type"])?$_POST["type"]:1,"type");
|
||||
print '</td></tr>';
|
||||
|
||||
// Currency
|
||||
@ -843,7 +843,7 @@ else
|
||||
// Type
|
||||
print '<tr><td class="fieldrequired">'.$langs->trans("AccountType").'</td>';
|
||||
print '<td colspan="3">';
|
||||
$formbank->select_type_comptes_financiers((isset($_POST["type"])?$_POST["type"]:$account->type),"type");
|
||||
$formbank->selectTypeOfBankAccount((isset($_POST["type"])?$_POST["type"]:$account->type),"type");
|
||||
print '</td></tr>';
|
||||
|
||||
// Currency
|
||||
|
||||
@ -49,7 +49,7 @@ class FormBank
|
||||
* @param string $htmlname Nom champ formulaire
|
||||
* @return void
|
||||
*/
|
||||
public function select_type_comptes_financiers($selected = Account::TYPE_CURRENT, $htmlname = 'type')
|
||||
public function selectTypeOfBankAccount($selected = Account::TYPE_CURRENT, $htmlname = 'type')
|
||||
{
|
||||
$account = new Account($this->db);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user