Add no telefon at jana notis pdf and blade
This commit is contained in:
@@ -298,7 +298,7 @@ class NotisController extends Controller
|
||||
else
|
||||
{
|
||||
$pdf = PDF::loadView('pdf.listnotis',compact('marhuns','lelong_id','bayaran','listsag','caw'))
|
||||
->setPaper('a4', 'potrait');
|
||||
->setPaper('a4', 'landscape');
|
||||
|
||||
return $pdf->download('Senarai Notis.pdf');
|
||||
}
|
||||
|
||||
@@ -31,6 +31,7 @@
|
||||
<tr>
|
||||
<th>No</th>
|
||||
<th>No KP</th>
|
||||
<th>No Telefon</th>
|
||||
<th>Alamat 1</th>
|
||||
<th>Alamat 2</th>
|
||||
<th>Alamat 3</th>
|
||||
@@ -46,6 +47,7 @@
|
||||
<tr>
|
||||
<td>{{ $loop->iteration }} </td>
|
||||
<td>{{ $notis['nokp']}}</td>
|
||||
<td>{{ $notis['nama']->telefon}}</td>
|
||||
<td>{{ $notis['nama']->alamat1 }}</td>
|
||||
<td>{{ $notis['nama']->alamat2 }}</td>
|
||||
<td>{{ $notis['nama']->alamat3 }}</td>
|
||||
|
||||
@@ -157,6 +157,7 @@
|
||||
<tr>
|
||||
<th>No</th>
|
||||
<th>No Kp</th>
|
||||
<th>No Telefon</th>
|
||||
<th>Alamat 1</th>
|
||||
<th>Alamat 2</th>
|
||||
<th>Alamat 3</th>
|
||||
@@ -172,6 +173,7 @@
|
||||
<tr>
|
||||
<td>{{ $loop->iteration }} </td>
|
||||
<td>{{ $notis['nokp']}}</td>
|
||||
<td>{{ $notis['nama'][0]['telefon'] }}</td>
|
||||
{{-- <td style='word-wrap'>{{ $notis['nama']['nama']}}</td> --}}
|
||||
|
||||
<td>@foreach($notis['nama'] as $item){{ $item['alamat1']}}<br>@endforeach</td>
|
||||
|
||||
Reference in New Issue
Block a user