Overview
Comment:Fix method renamed
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | stable
Files: files | file ages | folders
SHA3-256: 4223fa018424efbf238683e55acd6871e1d9539b06e6bd4172db449671cfec04
User & Date: bohwaz on 2022-09-14 18:03:37
Other Links: manifest | tags
Context
2022-09-14
18:20
Add download as PDF to transactions check-in: 285eef20e2 user: bohwaz tags: trunk, stable
18:03
Fix method renamed check-in: 4223fa0184 user: bohwaz tags: trunk, stable
17:20
Add choice of analytical account when adding more payments to a subscription check-in: e593a7adec user: bohwaz tags: trunk, stable
Changes

Modified src/www/admin/services/fees/edit.php from [ea164cf904] to [ae01bef328].

33
34
35
36
37
38
39
40
41
42
43
44
45
	$amount_type = 0;
}

$accounting_enabled = (bool) $fee->id_account;

$years = Years::listOpen();

$account = $fee->id_account ? [$fee->id_account => Accounts::getSelectorLabel($fee->id_account)] : null;
$analytical_account = $fee->id_analytical ? [$fee->id_analytical => Accounts::getSelectorLabel($fee->id_analytical)] : null;

$tpl->assign(compact('service', 'amount_type', 'fee', 'csrf_key', 'account', 'accounting_enabled', 'years', 'analytical_account'));

$tpl->display('services/fees/edit.tpl');







|
|




33
34
35
36
37
38
39
40
41
42
43
44
45
	$amount_type = 0;
}

$accounting_enabled = (bool) $fee->id_account;

$years = Years::listOpen();

$account = Accounts::getSelector($fee->id_account);
$analytical_account = Accounts::getSelector($fee->id_analytical);

$tpl->assign(compact('service', 'amount_type', 'fee', 'csrf_key', 'account', 'accounting_enabled', 'years', 'analytical_account'));

$tpl->display('services/fees/edit.tpl');