fix vt do mail command

This commit is contained in:
omair saleh
2022-02-26 17:04:35 +08:00
parent d55a30469c
commit 644d90f3ad
+1 -1
View File
@@ -56,7 +56,7 @@ class EmailDoToVTCommand extends Command
$zip_file = 'do_'.Carbon::yesterday()->format('Y_m_d').'.zip';
$attachment = storage_path().'/'.$zip_file;
$startDate = Carbon::parse('20-02-2022');
$startDate = Carbon::yesterday();
$endDate = Carbon::yesterday();
$zip = new ZipArchive();