Commit 284738a8 by DESKTOP-E0VCCBD\zedan

update

parent 2181a307
......@@ -109,7 +109,7 @@ export class EmpBorrowReturnStatusComponent {
this.borrowTransactionsService.getLists().subscribe({
next: (result) => {
// เก็บข้อมูลทั้งหมด
this.hisList = result;
this.hisList = result.filter(e => e.project_equipment.projectId == this.projectId);
// เรียงลำดับจากวันที่ล่าสุด
this.hisList.sort((a, b) =>
......
......@@ -89,7 +89,7 @@ export class EmpBorrowStatusComponent {
this.borrowTransactionsService.getLists().subscribe({
next: (result) => {
// เก็บข้อมูลทั้งหมด
this.hisList = result;
this.hisList = result.filter(e => e.project_equipment.projectId == this.projectId);
// เรียงลำดับจากวันที่ล่าสุด
this.hisList.sort((a, b) =>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment