Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
simpmw
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
Alfiro Pratama
simpmw
Commits
5ff6948d
Commit
5ff6948d
authored
Jan 09, 2025
by
Alfiro Pratama
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Return route monev anggaran
parent
1a89dfa2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
app/Http/Controllers/Mahasiswa/MonevController.php
+2
-2
resources/views/backend/mahasiswa/monev/anggaran/index.blade.php
+1
-1
No files found.
app/Http/Controllers/Mahasiswa/MonevController.php
View file @
5ff6948d
...
...
@@ -303,10 +303,10 @@ class MonevController extends Controller
]);
DB
::
commit
();
return
redirect
()
->
back
(
)
->
with
(
'success'
,
'Data berhasil disimpan'
);
return
redirect
()
->
route
(
'mahasiswa.monev-anggaran'
,
[
'id'
=>
encrypt
(
$key
[
'monev_id'
])]
)
->
with
(
'success'
,
'Data berhasil disimpan'
);
}
catch
(
\Exception
$e
)
{
DB
::
rollback
();
return
redirect
()
->
back
(
)
->
with
(
'error'
,
'Gagal menyimpan data: '
.
$e
->
getMessage
());
return
redirect
()
->
route
(
'mahasiswa.monev-anggaran'
,
[
'id'
=>
encrypt
(
$key
[
'monev_id'
])]
)
->
with
(
'error'
,
'Gagal menyimpan data: '
.
$e
->
getMessage
());
}
}
...
...
resources/views/backend/mahasiswa/monev/anggaran/index.blade.php
View file @
5ff6948d
...
...
@@ -238,7 +238,7 @@
text: response.message || 'Data berhasil disimpan',
confirmButtonText: 'OK'
}).then(() => {
location.reload();
// Reload data table setelah operasi berhasil
location.reload();
});
} else {
Swal.fire({
...
...
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