fix(server): change the default from/date date value of reports

This commit is contained in:
Ahmed Bouhuolia
2023-08-27 15:50:52 +02:00
parent 251c54be60
commit c7a3bac44c
15 changed files with 32 additions and 36 deletions

View File

@@ -27,7 +27,7 @@ export default class InventoryValuationSheetService {
*/
get defaultQuery(): IInventoryValuationReportQuery {
return {
asDate: moment().endOf('year').format('YYYY-MM-DD'),
asDate: moment().format('YYYY-MM-DD'),
itemsIds: [],
numberFormat: {
precision: 2,