download billing documents

This commit is contained in:
omair saleh
2022-03-02 04:14:53 +08:00
parent 0abdc29c20
commit 2aac4da338
@@ -50,7 +50,6 @@ class DownloadBookingDocumentLogic
$zip->close();
header('Content-Type: application/zip');
header('Content-disposition: attachment; filename='.$attachment);
header('Content-Length: ' . filesize($attachment));
readfile($attachment);
unlink($attachment);