refactor: changed default date to tomorrow
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Vicent Llopis 2022-04-07 08:32:31 +02:00
parent f5a6521f20
commit 4350ea0af5
1 changed files with 4 additions and 1 deletions

View File

@ -6,8 +6,11 @@ class Controller extends Dialog {
super($element, $, $transclude);
this.vnReport = vnReport;
const tomorrow = new Date();
tomorrow.setDate(tomorrow.getDate() + 1);
this.receipt = {
payed: new Date()
payed: tomorrow
};
}