diff --git a/resources/views/penilaian/form.blade.php b/resources/views/penilaian/form.blade.php index 88e0105..e4f9550 100644 --- a/resources/views/penilaian/form.blade.php +++ b/resources/views/penilaian/form.blade.php @@ -3,11 +3,8 @@ @section('breadcrumbs') {{ Breadcrumbs::render(request()->route()->getName()) }} @endsection - - - - @section('content') +@include('lpj::assetsku.includenya')
@include('lpj::component.detail-jaminan', ['backLink' => 'penilaian.index']) @@ -462,6 +459,7 @@ if (response.success) { window.location.href = '{{ route('penilaian.index') }}'; + toastrSuccessBuild(response.message); } else { showErrorMessages(response.errors); @@ -470,6 +468,7 @@ }, error: function(xhr) { // Handle errors from the server + toastrErrorBuild(xhr.responseJSON.message); showErrorMessages(xhr.responseJSON?.errors); console.error('Error occurred:', xhr.statusText); console.log('Response:', xhr.responseText);