laporan ubah marhun pdf (operasi)

This commit is contained in:
Amirah22
2023-01-25 12:47:45 +08:00
parent a4d84474a6
commit 5a0631921b
2 changed files with 48 additions and 42 deletions
+1 -1
View File
@@ -1050,7 +1050,7 @@ class ReportController extends Controller
$getpengesahan = Cawangan::where('caw_code', $kodcaw)->first();
// return view('marhun.ubahmarhun', compact('cawangan','lelong_id','getpengesahan'));
// return view('pdf.laporanubahmarhun', compact('cawangan','lelong_id','getpengesahan','t_lelong'));
$pdf = PDF::loadView('pdf.laporanubahmarhun',compact('cawangan','lelong_id','getpengesahan','t_lelong'))
->setPaper('a4', 'potrait');
+47 -41
View File
@@ -71,42 +71,52 @@ tr:nth-child(even) {
/* background-color: #f2f2f2; */
}
</style>
<body>
<table width="100%" border="0" id="sim">
<tr>
<td width="50%"><h3>PERMODALAN KELANTAN BERHAD</h3></td>
</tr>
<tr>
<td colspan="2"><u><b>Laporan Ubah Marhun</b></u></td>
.table th,
.table td {
padding: 0.75rem;
vertical-align: top;
border-top: 1px solid #dee2e6;
}
</tr>
</table>
</style>
<table cellspacing="" cellpadding="5" text-align="left" border="0" height="25" align="left" id="sim">
<thead>
<br>
<tr>
<td>Batch Lelong: {{$lelong_id}}</td>
<td>Cawangan : {{$getpengesahan['caw_name']}}
<table width="100%" border="0" id="sim">
<tr>
<td width="50%"><h3>PERMODALAN KELANTAN BERHAD</h3></td>
</tr>
<tr>
<td colspan="2"><u><b>Laporan Ubah Marhun</b></u></td>
</tr>
</table>
<table cellspacing="" cellpadding="5" text-align="left" border="0" height="25" align="left" id="sim">
<thead>
<br>
<tr>
<td>Batch Lelong: {{$lelong_id}}</td>
<td>Cawangan : {{$getpengesahan['caw_name']}}
<tr>
<td>Tarikh Lelong : {{$t_lelong}} </td>
<tr>
</tr>
</thead>
</table>
<br>
<table class='table text-center table-bordered table-hover' style="width:100%" cellspacing="0" cellpadding="5" style="float:right;" border="0" width="100%" height="80" align="left" id="sim">
<thead class="bg-primary text-white">
<tr>
<td>Tarikh Lelong : {{$t_lelong}} </td>
<tr>
</tr>
</thead>
</table>
<br>
<table cellspacing="0" cellpadding="5" style="float:right;" border="0" width="100%" height="80" align="left" id="sim">
<thead>
<tr>
<th>Bil</th>
<th>No Rujukan</th>
<th>Perubahan</th>
@@ -119,9 +129,10 @@ tr:nth-child(even) {
<th>Diminta Oleh</th>
<th>Disahkan Oleh</th>
{{-- <th>Status</th> --}}
</tr>
</thead>
</tr>
</thead>
<tbody>
@forelse($cawangan as $marhun)
<tr>
<td>{{ $loop->iteration }}</td>
@@ -187,15 +198,10 @@ tr:nth-child(even) {
</tr>
@endforelse
</table>
</tbody>
</table>
</tbody>
{{-- @endsection --}}