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:
parent
a25a31b95c
commit
674d0ce939
@ -26,6 +26,7 @@
|
||||
- OpenAPI availabilities endpoint
|
||||
- Ability to filter OpenAPI reservations endpoint by availability_id
|
||||
- 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 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)
|
||||
|
@ -979,7 +979,7 @@ angular.module('application.router', ['ui.router'])
|
||||
onlinePaymentStatus: ['Payment', function (Payment) { return Payment.onlinePaymentStatus().$promise; }],
|
||||
invoices: ['Invoice', function (Invoice) {
|
||||
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;
|
||||
}],
|
||||
closedPeriods: ['AccountingPeriod', function (AccountingPeriod) { return AccountingPeriod.query().$promise; }]
|
||||
|
Loading…
x
Reference in New Issue
Block a user