update sale invoice and payload forms of pos

This commit is contained in:
2026-05-28 16:37:58 +03:30
parent 9fdd5e451c
commit 550db47b88
17 changed files with 44 additions and 22 deletions
@@ -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());
},