Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
konaspi2024
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Siti Aisah
konaspi2024
Commits
fbe9d4d1
Commit
fbe9d4d1
authored
Sep 12, 2024
by
Triyah Fatmawati
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update Nama File
parent
459e9a17
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
app/Http/Controllers/Admin/AdminController.php
+3
-1
resources/views/admin/pembayaran/excel.blade.php
+0
-1
No files found.
app/Http/Controllers/Admin/AdminController.php
View file @
fbe9d4d1
...
@@ -367,8 +367,10 @@ public function download_data_pembayaran()
...
@@ -367,8 +367,10 @@ public function download_data_pembayaran()
'va'
=>
$value
,
'va'
=>
$value
,
'tglbayar'
=>
$date
'tglbayar'
=>
$date
];
];
$nama_file
=
'Data Pembayaran Konaspi '
.
" "
.
date
(
'Y-m-d'
);
}
}
return
view
(
'admin.pembayaran.excel'
,
compact
(
'data'
));
return
view
(
'admin.pembayaran.excel'
,
compact
(
'data'
,
'nama_file'
));
}
}
}
}
resources/views/admin/pembayaran/excel.blade.php
View file @
fbe9d4d1
<?php
<?php
$nama_file
=
'Data Pembayaran Konaspi'
;
header
(
"Content-type: application/vnd-ms-excel"
);
header
(
"Content-type: application/vnd-ms-excel"
);
header
(
"Content-Disposition: attachment; filename=
$nama_file
.xls"
);
header
(
"Content-Disposition: attachment; filename=
$nama_file
.xls"
);
?>
?>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment