Overview
Comment:Make sure $id can be null
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | stable
Files: files | file ages | folders
SHA3-256: f74c5b244430b783aff1f5aa50883486168f98c6e59cce8abe4a97273f862dff
User & Date: bohwaz on 2022-04-06 11:40:07
Other Links: manifest | tags
Context
2022-04-06
13:57
Drop acc_accounts_projects_balances view, we won't create a view for each specific accounts view (users, creator, analytical)

Instead use a generic SQL function to generate the correct SQL statement

Fix [852e29e7c9abea9c403ffb0e9a286b3b63ccebfa] check-in: 80034eb770 user: bohwaz tags: trunk, stable

11:40
Make sure $id can be null check-in: f74c5b2444 user: bohwaz tags: trunk, stable
2022-04-05
14:10
Fix projects balances, fix [a8f507d0c033d6c8540797ea0f37e076781cc101] check-in: e50fecb397 user: bohwaz tags: trunk, stable
Changes

Modified src/include/lib/Garradin/Entities/Services/Fee.php from [7ca1048869] to [cf78e1ab65].

13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
use KD2\DB\EntityManager;
use KD2\DB\DB_Exception;

class Fee extends Entity
{
	const TABLE = 'services_fees';

	protected int $id;
	protected string $label;
	protected ?string $description = null;
	protected ?int $amount = null;
	protected ?string $formula = null;
	protected int $id_service;
	protected ?int $id_account = null;
	protected ?int $id_year = null;







|







13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
use KD2\DB\EntityManager;
use KD2\DB\DB_Exception;

class Fee extends Entity
{
	const TABLE = 'services_fees';

	protected ?int $id;
	protected string $label;
	protected ?string $description = null;
	protected ?int $amount = null;
	protected ?string $formula = null;
	protected int $id_service;
	protected ?int $id_account = null;
	protected ?int $id_year = null;