Update onchange function for modal gadaian v2, & fix sag
This commit is contained in:
@@ -372,8 +372,6 @@
|
||||
|
||||
if (!arrayBatuPermata.includes(marhun)) {
|
||||
$(".col_edit_permata").css("display", "block");
|
||||
$(".div_anggaran_edit").css("display", "none");
|
||||
$('#beratpermataedit').val("");
|
||||
} else {
|
||||
$(".col_edit_permata").css("display", "none");
|
||||
$('#tagpermataedit').prop('checked', false);
|
||||
|
||||
@@ -33,7 +33,6 @@
|
||||
<option value="Rosak">Rosak</option>
|
||||
<option value="Putus">Putus</option>
|
||||
<option value="Patah">Patah</option>
|
||||
<option value="Permata">Permata</option>
|
||||
<option value="Sebelah">Sebelah</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
@@ -317,9 +317,9 @@
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
window.print();
|
||||
// window.onfocus = function() {
|
||||
// window.close();
|
||||
// }
|
||||
window.onfocus = function() {
|
||||
window.close();
|
||||
}
|
||||
});
|
||||
</script>
|
||||
</head>
|
||||
@@ -473,7 +473,7 @@
|
||||
echo $marhun['descpt'];
|
||||
@endphp
|
||||
</td>
|
||||
<td>{{ $marhun_detail[$i]['nota'] }}</td>
|
||||
<td>{{ $marhun_detail[$i]['tag_permata'] == 1 ? '(P) ' : '' }}{{ $marhun_detail[$i]['nota'] }}</td>
|
||||
<td>{{ $marhun_detail[$i]['bil'] }}</td>
|
||||
<td>{{ $marhun_detail[$i]['karat'] }}</td>
|
||||
<td>{{ $marhun_detail[$i]['harga'] }}</td>
|
||||
|
||||
Reference in New Issue
Block a user