1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-01-18 07:52:23 +01:00

(bug) by default, invoices should be ordered by date descending

This commit is contained in:
Sylvain 2023-04-03 10:22:40 +02:00
parent a25a31b95c
commit 674d0ce939
2 changed files with 2 additions and 1 deletions

View File

@ -26,6 +26,7 @@
- OpenAPI availabilities endpoint - OpenAPI availabilities endpoint
- Ability to filter OpenAPI reservations endpoint by availability_id - Ability to filter OpenAPI reservations endpoint by availability_id
- Support for ARM64 CPU architecture - Support for ARM64 CPU architecture
- Fix a bug: by default, invoices should be ordered by date descending
- Fix a bug: broken display after a plan category was deleted - Fix a bug: broken display after a plan category was deleted
- Fix a security issue: updated json5 to 2.2.2 to fix [CVE-2022-46175](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-46175) - Fix a security issue: updated json5 to 2.2.2 to fix [CVE-2022-46175](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-46175)
- Fix a security issue: updated terser to 5.16.8 to fix [CVE-2022-25858](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-25858) - Fix a security issue: updated terser to 5.16.8 to fix [CVE-2022-25858](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-25858)

View File

@ -979,7 +979,7 @@ angular.module('application.router', ['ui.router'])
onlinePaymentStatus: ['Payment', function (Payment) { return Payment.onlinePaymentStatus().$promise; }], onlinePaymentStatus: ['Payment', function (Payment) { return Payment.onlinePaymentStatus().$promise; }],
invoices: ['Invoice', function (Invoice) { invoices: ['Invoice', function (Invoice) {
return Invoice.list({ return Invoice.list({
query: { number: '', customer: '', date: null, order_by: '-reference', page: 1, size: 20 } query: { number: '', customer: '', date: null, order_by: '-date', page: 1, size: 20 }
}).$promise; }).$promise;
}], }],
closedPeriods: ['AccountingPeriod', function (AccountingPeriod) { return AccountingPeriod.query().$promise; }] closedPeriods: ['AccountingPeriod', function (AccountingPeriod) { return AccountingPeriod.query().$promise; }]