This commit is contained in:
Afiq Zakwan Hamdan
2021-07-09 11:36:10 +08:00
parent 0acd7fe964
commit 20d3cba174
+17 -7
View File
@@ -7,8 +7,8 @@
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script> <script>
$(document).ready(function () { $(document).ready(function () {
window.print(); //window.print();
window.onfocus=function(){ window.close();} // window.onfocus=function(){ window.close();}
}); });
</script> </script>
@@ -400,6 +400,16 @@
border-top: 1px dashed black; border-top: 1px dashed black;
} }
#detail-kaki{
width: 100%;
border-collapse: collapse !important;
}
.cell-breakWord {
word-wrap: break-word;
max-width: 1px;
}
</style> </style>
</head> </head>
@@ -1100,7 +1110,7 @@
@endphp @endphp
</div> </div>
<br> <br>
<table> <table id="detail-kaki">
<tr> <tr>
<td>No SAG</td> <td>No SAG</td>
<td style="font-size:16px">{{ $gadai_detail['norujukan'] }}</td> <td style="font-size:16px">{{ $gadai_detail['norujukan'] }}</td>
@@ -1127,7 +1137,7 @@
</tr> </tr>
<tr> <tr>
<td>Marhun</td> <td>Marhun</td>
<td> <td class="cell-breakWord">
@php @php
foreach($marhun_detail as $index=>$marhun_customer){ foreach($marhun_detail as $index=>$marhun_customer){
echo '1'.$marhun_customer['marhun']. '(' .$marhun_customer['karat'].'),'; echo '1'.$marhun_customer['marhun']. '(' .$marhun_customer['karat'].'),';
@@ -1212,7 +1222,7 @@
@endphp @endphp
</div> </div>
<br> <br>
<table> <table id="detail-kaki">
<tr> <tr>
<td>No SAG</td> <td>No SAG</td>
<td style="font-size:16px">{{ $gadai_detail['norujukan'] }}</td> <td style="font-size:16px">{{ $gadai_detail['norujukan'] }}</td>
@@ -1239,7 +1249,7 @@
</tr> </tr>
<tr> <tr>
<td>Marhun</td> <td>Marhun</td>
<td> <td class="cell-breakWord">
@php @php
foreach($marhun_detail as $index=>$marhun_customer){ foreach($marhun_detail as $index=>$marhun_customer){
echo '1'.$marhun_customer['marhun']. '(' .$marhun_customer['karat'].'),'; echo '1'.$marhun_customer['marhun']. '(' .$marhun_customer['karat'].'),';
@@ -1298,7 +1308,7 @@
@if($gadai_detail['penilai'] == '') @if($gadai_detail['penilai'] == '')
{{ $auth_username }} {{ $auth_username }}
@else @else
{{ $gadai_detail['penilai'] }} {{ $gadai_detail['teller'] }}
@endif @endif
</td> </td>
<td class="table_td">Tandatangan</td> <td class="table_td">Tandatangan</td>