update sale invoice and payload forms of pos
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { Maybe } from '@/core';
|
||||
import { jalaliToGregorian, nowJalali } from '@/utils';
|
||||
import { nowJalali } from '@/utils';
|
||||
import { CommonModule } from '@angular/common';
|
||||
import {
|
||||
AfterViewInit,
|
||||
@@ -60,8 +60,6 @@ export class UikitFlatpickrJalaliComponent implements AfterViewInit, OnDestroy {
|
||||
altFormat: 'Y/m/d',
|
||||
|
||||
onChange: (selectedDates: Date[], dateStr: string) => {
|
||||
console.log('dateStr', jalaliToGregorian(dateStr));
|
||||
|
||||
this.valueChange.emit(dateStr);
|
||||
if (this.control) this.control.setValue(dayjs(dateStr).toISOString());
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user