perbaikan upload foto
This commit is contained in:
27
resources/views/surveyor/components/data.json
Normal file
27
resources/views/surveyor/components/data.json
Normal file
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"rute_menuju_lokasi": [
|
||||
{
|
||||
"name": "Tampak Depan Objek",
|
||||
"description": "terdapat jalan depan rumah",
|
||||
"category": "Tampak Depan Objek",
|
||||
"sub": null,
|
||||
"path": "surveyor/rute_menuju_lokasi/REG0000008/1738724858.png",
|
||||
"created_by": "Administrator",
|
||||
"created_at": "2025-02-05 04:29:33",
|
||||
"updated_by": "Administrator",
|
||||
"updated_at": "2025-02-05 04:31:04"
|
||||
},
|
||||
{
|
||||
"name": "Tampak Akses Jalan",
|
||||
"description": "ada",
|
||||
"category": "Tampak Samping Kiri",
|
||||
"sub": null,
|
||||
"path": "surveyor/rute_menuju_lokasi/REG0000008/1738730127.png",
|
||||
"created_by": "Administrator",
|
||||
"created_at": "2025-02-05 04:35:27",
|
||||
"updated_by": "Administrator",
|
||||
"updated_at": "2025-02-05 04:38:53"
|
||||
}
|
||||
],
|
||||
"foto_lantai_unit": []
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -67,7 +67,8 @@
|
||||
<i class="ki-filled ki-save-2"></i>
|
||||
<span id="saveButtonText">Save</span>
|
||||
</button>
|
||||
<a href="{{ route('surveyor.print_out_inspeksi', ['permohonan_id' => $permohonan->id, 'dokument_id' => request('dokument'), 'jenis_jaminan_id' => request('jenis_jaminan')]) }}" class="btn btn-info" id="saveButton">
|
||||
<a href="{{ route('surveyor.print_out_inspeksi', ['permohonan_id' => $permohonan->id, 'dokument_id' => request('dokument'), 'jenis_jaminan_id' => request('jenis_jaminan')]) }}"
|
||||
class="btn btn-info" id="saveButton">
|
||||
<i class="ki-filled ki-printer"></i>
|
||||
<span>Print Out</span>
|
||||
</a>
|
||||
@@ -80,9 +81,8 @@
|
||||
@push('scripts')
|
||||
<script src="https://cdn.jsdelivr.net/npm/signature_pad@4.1.7/dist/signature_pad.umd.min.js"></script>
|
||||
<script type="text/javascript">
|
||||
|
||||
const datas = @json($forminspeksi);
|
||||
console.log(datas);
|
||||
const datas = @json($forminspeksi);
|
||||
console.log(datas);
|
||||
|
||||
document.addEventListener('DOMContentLoaded', function() {
|
||||
const signaturePads = {};
|
||||
@@ -238,10 +238,10 @@ const datas = @json($forminspeksi);
|
||||
fetch(`{{ url('/surveyor/signatures/${type}') }}`, {
|
||||
method: 'DELETE',
|
||||
headers: {
|
||||
'Content-Type': 'application/json',
|
||||
'X-CSRF-TOKEN': '{{ csrf_token() }}',
|
||||
},
|
||||
body: JSON.stringify(data)
|
||||
'Content-Type': 'application/json',
|
||||
'X-CSRF-TOKEN': '{{ csrf_token() }}',
|
||||
},
|
||||
body: JSON.stringify(data)
|
||||
})
|
||||
.then(response => response.json())
|
||||
.then(data => {
|
||||
|
||||
@@ -149,6 +149,8 @@
|
||||
function jadwal(id) {
|
||||
document.getElementById('ids').value = id;
|
||||
}
|
||||
|
||||
|
||||
function surveyorFreeze(permohonanId, noReg, debitur) {
|
||||
|
||||
Swal.fire({
|
||||
|
||||
Reference in New Issue
Block a user