fix แนบท้ายคำสั่งรักษาการ

This commit is contained in:
Bright 2024-11-20 18:57:03 +07:00
parent a30821acc3
commit 396440e4bc

View file

@ -3446,6 +3446,7 @@ export class CommandController extends Controller {
RemarkHorizontal?: any | null;
RemarkVertical?: any | null;
CommandYear?: any | null;
CommandExcecuteDate?: Date | null;
}[];
},
) {
@ -3515,7 +3516,9 @@ export class CommandController extends Controller {
"/" +*/
_organizationNew ?? "-",
// date: Extension.ToThaiShortDate_noPrefix(new Date()),
dateStart: "-",
dateStart: item.CommandExcecuteDate
? Extension.ToThaiShortDate(item.CommandExcecuteDate)
: "-",
dateEnd: "-",
order:
posMasterAct.posMasterOrder == null