This commit is contained in:
parent
07d03f5134
commit
39c6f6fdd1
1 changed files with 3 additions and 1 deletions
|
|
@ -6949,7 +6949,9 @@ export class OrganizationDotnetController extends Controller {
|
|||
break;
|
||||
}
|
||||
}
|
||||
const date = body.date.setHours(23, 59, 59, 999);
|
||||
const date = body.date ? new Date(body.date.toISOString().slice(0, 10)) : new Date();
|
||||
// set เวลาเป็น 23:59:59 ของวันนั้น
|
||||
date.setHours(23, 59, 59, 999);
|
||||
|
||||
let profile = await this.posMasterHistoryRepository.find({
|
||||
where: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue