Commit 07b87fd0 by Nattana Chaiyamat

แก้ไข รายงาน Excel แก้ตัวส่งวันที่ yyyy-mm-dd

parent 67c6ee0b
...@@ -169,7 +169,7 @@ export class ExcelReportComponent implements OnInit { ...@@ -169,7 +169,7 @@ export class ExcelReportComponent implements OnInit {
} else if (item.type == 'list' || item.type == 'radio' || item.type == 'text') { } else if (item.type == 'list' || item.type == 'radio' || item.type == 'text') {
return "__" + item.key + "=" + this.select[item.key] return "__" + item.key + "=" + this.select[item.key]
} else if (item.type == 'calendar') { } else if (item.type == 'calendar') {
return "__" + item.key + "=" + this.ngbtoDate(this.select[item.key]).split('-').reverse().join('-') return "__" + item.key + "=" + this.ngbtoDate(this.select[item.key])
} }
return "" return ""
}).join('|') }).join('|')
......
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