fix bugging je

This commit is contained in:
MUHD HAFIFIE
2021-04-05 12:04:22 +08:00
parent d7e5d8bd70
commit 5a4496b741
6 changed files with 22 additions and 159 deletions
+2 -1
View File
@@ -131,7 +131,7 @@
<thead>
<tr>
<th>Bil</th>
<th>Masa</th>
<th>Tarikh</th>
<th>Debit (RM)</th>
<th>Kredit (RM)</th>
<th>Nota</th>
@@ -276,6 +276,7 @@
});
}
let pusherenv = "{{ env('PUSHER_APP_KEY') }}";
</script>
<script src="{{ asset('js/main.js') }}"></script>
@endsection
@@ -21,7 +21,7 @@
<div class="col-3"><input type="text" class="form-control" name="teller" id="teller" value="{{ $array_reqteller['kodlaluan'] }}" readonly/></div>
</div>
<input type="hidden" name="no" value="{{ $array_reqteller['no'] }}"/>
<input type="hidden" id="no" name="no" value="{{ $array_reqteller['no'] }}"/>
<div class="row">
<div class="col-2">Amaun (RM)</div>
@@ -348,7 +348,6 @@
let teller = $('#teller').val();
let kodcaw = "{{ Auth::user()->cawangan }}";
$.ajax({
method: 'get',
url: "{{ route('request.pembatalan') }}",
+10 -10
View File
@@ -6,10 +6,10 @@
<ul class="nav nav-pills">
<li class="nav-item">
<a class="nav-link active" data-toggle="pill" href="#home" role="tab" aria-controls="pills-flamingo" aria-selected="true">Bundle</a>
<a class="nav-link" data-toggle="pill" href="#home" role="tab" aria-controls="pills-flamingo" aria-selected="true">Bundle</a>
</li>
<li class="nav-item">
<a class="nav-link" data-toggle="pill" href="#profile" role="tab" aria-controls="pills-cuckoo" aria-selected="false">Keping</a>
<a class="nav-link active" data-toggle="pill" href="#profile" role="tab" aria-controls="pills-cuckoo" aria-selected="false">Keping</a>
</li>
</ul>
@@ -24,7 +24,7 @@
<div class="modal-body">
<div class="tab-content">
<div class="tab-pane fade show active" id="home" role="tabpanel" aria-labelledby="flamingo-tab">
<div class="tab-pane fade" id="home" role="tabpanel" aria-labelledby="flamingo-tab">
<table class="table">
<tr>
@@ -37,32 +37,32 @@
</tr>
<tr>
<td>RM1</td>
<td><input type="text" name="ambilanb1" class="form-control" id="bundle1" onkeyup="kiraan(this)"/> </td>
<td><input type="text" name="ambilanb1" class="form-control" id="bundle1" onkeyup="kiraan(this)" readonly/> </td>
<td><input type="text" name="totalb1" class="form-control" id="totalb1" value="0.00" readonly/> </td>
<td> RM20</td>
<td><input type="text" name="ambilanb20" class="form-control" id="bundle20" onkeyup="kiraan(this)"/> </td>
<td><input type="text" name="ambilanb20" class="form-control" id="bundle20" onkeyup="kiraan(this)" readonly/> </td>
<td><input type="text" name="totalb20" class="form-control" id="totalb20" value="0.00" readonly/> </td>
</tr>
<tr>
<td>RM5</td>
<td><input type="text" name="ambilanb5" class="form-control" id="bundle5" onkeyup="kiraan(this)"/> </td>
<td><input type="text" name="ambilanb5" class="form-control" id="bundle5" onkeyup="kiraan(this)" readonly/> </td>
<td><input type="text" name="totalb5" class="form-control" id="totalb5" value="0.00" readonly/> </td>
<td>RM50</td>
<td><input type="text" name="ambilanb50" class="form-control" id="bundle50" onkeyup="kiraan(this)"/> </td>
<td><input type="text" name="ambilanb50" class="form-control" id="bundle50" onkeyup="kiraan(this)" readonly/> </td>
<td><input type="text" name="totalb50" class="form-control" id="totalb50" value="0.00" readonly/> </td>
</tr>
<tr>
<td>RM10</td>
<td><input type="text" name="ambilanb10" class="form-control" id="bundle10" onkeyup="kiraan(this)"/> </td>
<td><input type="text" name="ambilanb10" class="form-control" id="bundle10" onkeyup="kiraan(this)" readonly/> </td>
<td><input type="text" name="totalb10" class="form-control" id="totalb10" value="0.00" readonly/> </td>
<td>RM100 </td>
<td><input type="text" name="ambilanb100" class="form-control" id="bundle100" onkeyup="kiraan(this)"/> </td>
<td><input type="text" name="ambilanb100" class="form-control" id="bundle100" onkeyup="kiraan(this)" readonly/> </td>
<td><input type="text" name="totalb100" class="form-control" id="totalb100" value="0.00" readonly/> </td>
</tr>
</table>
</div>
<div class="tab-pane fade" id="profile" role="tabpanel" aria-labelledby="profile-tab">
<div class="tab-pane fade show active" id="profile" role="tabpanel" aria-labelledby="profile-tab">
<table class="table">
<tr>