fixed senderid bulk upload, uploaded logo file on prod
This commit is contained in:
@@ -283,14 +283,12 @@ class SenderIdController extends Controller
|
||||
public function getUploadReport($name){
|
||||
$file = public_path('documents/general_files/') . $name;
|
||||
$headers = ['Content-Type' => 'text/plain '];
|
||||
return \Response::download($file, 'Sender ID Upload Report', $headers);
|
||||
return \Response::download($file, 'Sender ID Upload Report.xlsx', $headers);
|
||||
}
|
||||
public function getSampleFile(){
|
||||
$file = public_path('helper_documents/senderid_sample_file.xlsx');
|
||||
|
||||
#$extension = pathinfo($file, PATHINFO_EXTENSION);
|
||||
$headers = ['Content-Type' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'];
|
||||
return \Response::download($file, 'Sender ID Sample Upload File', $headers);
|
||||
return \Response::download($file, 'Sender ID Sample Upload File.xlsx', $headers);
|
||||
}
|
||||
public function edit($id){
|
||||
$senderid = Models\SenderId::findOrFail($id);
|
||||
|
||||
Reference in New Issue
Block a user