Penambahan login cashier via API, perhitungan tarif
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
.text-label {
|
||||
color: #000000;
|
||||
}
|
||||
/*
|
||||
/*
|
||||
.table-selectable tbody tr {
|
||||
cursor: pointer;
|
||||
transition: 0.15s;
|
||||
@@ -76,10 +76,10 @@
|
||||
$jenis = 'Masuk';
|
||||
} elseif ($pintu->jenis === 1) {
|
||||
$jenis = 'Keluar';
|
||||
}
|
||||
}
|
||||
|
||||
$isManless = $pintu->manless === 1
|
||||
? '<span class="d-inline-block rounded-circle bg-success" style="width:12px;height:12px;"></span>'
|
||||
$isManless = $pintu->manless === 1
|
||||
? '<span class="d-inline-block rounded-circle bg-success" style="width:12px;height:12px;"></span>'
|
||||
: '<span class="d-inline-block rounded-circle bg-danger" style="width:12px;height:12px;"></span>';
|
||||
@endphp
|
||||
<tr>
|
||||
@@ -95,11 +95,11 @@
|
||||
default => '-'
|
||||
}
|
||||
}}</td>
|
||||
<td class="text-center" width="7%"><span class="d-inline-block rounded-circle
|
||||
<td class="text-center" width="7%"><span class="d-inline-block rounded-circle
|
||||
{{ $pintu->grace_period === 1 ? 'bg-success' : 'bg-danger' }}"
|
||||
style="width:12px;height:12px;">
|
||||
</span></td>
|
||||
<td class="text-center" width="7%"><span class="d-inline-block rounded-circle
|
||||
<td class="text-center" width="7%"><span class="d-inline-block rounded-circle
|
||||
{{ $pintu->manless === 1 ? 'bg-success' : 'bg-danger' }}"
|
||||
style="width:12px;height:12px;">
|
||||
</span>
|
||||
@@ -116,11 +116,9 @@
|
||||
<div class="d-flex justify-content-center align-items-center mt-2">
|
||||
<div>
|
||||
<button class="btn btn-primary btn-sm add-button" data-bs-toggle="modal" data-bs-target=".bd-example-modal-lg">Tambah</button>
|
||||
{{-- </div>
|
||||
<div id="rowActions" class="d-none"> --}}
|
||||
<button class="btn btn-warning btn-sm edit-button" id="btnEdit" data-bs-toggle="modal" data-bs-target=".bd-ubah-modal-lg">Tambah</button>
|
||||
<button class="btn btn-warning btn-sm edit-button" id="btnEdit" data-bs-toggle="modal" data-bs-target=".bd-ubah-modal-lg">Ubah</button>
|
||||
<button class="btn btn-danger btn-sm" id="btnDelete">Hapus</button>
|
||||
<button class="btn btn-info btn-sm" id="btnDetail">Detail</button>
|
||||
<button class="btn btn-danger btn-sm" id="btnDelete">Detail</button>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ADD MEMMBER MODAL -->
|
||||
@@ -241,7 +239,7 @@ class="form-control form-control-sm edit-mode d-none"
|
||||
},
|
||||
error: function (xhr) {
|
||||
console.error(xhr.responseText);
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
@@ -316,4 +314,4 @@ function formatValue(key, value) {
|
||||
});
|
||||
|
||||
</script>
|
||||
@endsection
|
||||
@endsection
|
||||
|
||||
Reference in New Issue
Block a user