refactoring: invoice form.

refactoring: receipt form.
refactoring: bill form.
refactoring: estimate form.
This commit is contained in:
a.bouhuolia
2021-02-15 16:23:58 +02:00
parent 151bd9bc54
commit e8458e2b36
37 changed files with 410 additions and 903 deletions

View File

@@ -42,9 +42,7 @@ export function useEstimate(id, props) {
['SALE_ESTIMATE', id],
() => ApiService.get(`sales/estimates/${id}`),
{
select: (res) => ({
estimate: res.data.sale_estimate,
}),
select: (res) => res.data.estimate,
...props,
},
);