b-b-a / bba-power

1 stars 0 forks source link

Multiple tenders on a contract with 1 supplier - problem #121

Closed ghost closed 12 years ago

ghost commented 12 years ago

Multiple tenders on a contract with the same supplier (this is valid) causes a : Overwriting items using addItem() is not allowed problem when the supplier is displayed (the contracts tab fails to load) This is because the DB querie gets multiple rows for a Contract I think.

->group('contract_idContract') at row 96 of DBtable/supplier.php seems to solve it. In this case the user only needs a single reference to the contract.

I pass this to you in case this is not correct / is not the way to fix it.