feat(customers): show vehicles and delete customer
Some checks failed
CI / lint-and-test (3.11) (push) Has been cancelled
CI / lint-and-test (3.13) (push) Has been cancelled

- get_customer now returns fleet_vehicles assigned to the customer.

- Added DELETE /pos/api/customers/<id> soft-delete (is_active=false) with customers.delete permission.

- Added Vehicles section in customer detail panel.

- Added Eliminar button in quick actions (owner/admin/customers.delete).
This commit is contained in:
2026-06-30 19:58:45 +00:00
parent 66b8fe3d69
commit 073c97406b
4 changed files with 114 additions and 3 deletions

View File

@@ -1209,6 +1209,16 @@
color: #000;
}
.action-btn--danger {
color: var(--color-error);
border-color: var(--color-error);
}
.action-btn--danger:hover {
background-color: var(--color-error);
color: #fff;
}
.action-btn__icon {
width: 20px;
height: 20px;