Merge remote-tracking branch 'origin/fix/default-date-contract-creation'
This commit is contained in:
@@ -111,7 +111,7 @@ export class DraftsCardComponent extends BaseDraftsComponent implements OnInit {
|
|||||||
newContractFormfields: FormlyFieldConfig[] = [];
|
newContractFormfields: FormlyFieldConfig[] = [];
|
||||||
newContractForm: FormGroup = new FormGroup({});
|
newContractForm: FormGroup = new FormGroup({});
|
||||||
newContractModel: any = {
|
newContractModel: any = {
|
||||||
date: new Date(),
|
date: formatDate(new Date(), 'YYYY-MM-dd', 'EN_US', 'CET'),
|
||||||
location: "Los Santos, SA",
|
location: "Los Santos, SA",
|
||||||
draft_id: null
|
draft_id: null
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user