* [MOD] Implemented in-line client/category creation from account view

* [FIX] Minor bugfixes
This commit is contained in:
nuxsmin
2018-01-22 23:51:50 +01:00
parent 0ed17a8f46
commit 2beb9c8bd3
9 changed files with 122 additions and 66 deletions

View File

@@ -238,10 +238,6 @@ class ClientRepository extends Repository implements RepositoryItemInterface
*/
public function delete($id)
{
if ($this->checkInUse($id)) {
throw new SPException(SPException::SP_WARNING, __u('No es posible eliminar'));
}
$query = /** @lang SQL */
'DELETE FROM Client WHERE id = ? LIMIT 1';