Commit e06607b2 by Alfiro Pratama

Nama File Export Excel Monev Internal

parent 66f79943
......@@ -580,7 +580,13 @@ class MonevProposalController extends Controller
$tahun = $request->tahun;
$monev = $request->monev;
return Excel::download(new DaftarProposalMonevExport($jenis, $status, $tahun, $monev), 'seleksi_monev_export.xlsx');
$filename = sprintf(
'seleksi_monev_internal_%s_export.xlsx',
$monev == 'Monev Internal I' ? 'i' : 'ii'
);
return Excel::download(new DaftarProposalMonevExport($jenis, $status, $tahun, $monev), $filename);
// $data = new DaftarProposalMonevExport($jenis, $status, $tahun, $monev);
// return $data->view();
}
......
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