Browse Source

edit old-pdf

ifah
Siti Hajar Ibrahim 5 years ago
parent
commit
fcb8aef78f
1 changed files with 62 additions and 517 deletions
  1. 62
    517
      resources/views/pdf/oldBusiness-pdf.blade.php

+ 62
- 517
resources/views/pdf/oldBusiness-pdf.blade.php View File

@@ -515,81 +515,11 @@
</td>
</tr>
</table>
@if($form->back_ic != "" && $form->front_ic != "")
@if(($ext1 == "jpeg" && $ext2 == "jpeg") || ($ext1 == "jpg" && $ext2 == "jpg") || ($ext1 == "JPG" && $ext2 == "JPG"))
@if($ext3 == "pdf" && $ext4 == "pdf")
@if(($ext5 == "jpeg" && $ext6 == "jpeg") || ($ext5 == "jpg" && $ext6 == "jpg") || ($ext5 == "JPG" && $ext6 == "JPG"))
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td align="center" style="font-size: 16; font-weight: bold;">
Attachment
</td>
</tr>
<tr><td height="10"></td></tr>
<tr>
<td style="font-size: 14; font-weight: bold;">
Identity Card (Front)
</td>
</tr>
<tr><td height="5"></td></tr>
<tr>
<td width="100%">
<img style="display:block;max-width:670px;height:auto" src="{{ url($form->front_ic) }}">
</td>
</tr>
<tr><td height="5"></td></tr>
<tr>
<td style="font-size: 14; font-weight: bold;">
Identity Card (Back)
</td>
</tr>
<tr><td height="5"></td></tr>
<tr>
<td width="100%">
<img style="display:block;max-width:670px;height:auto" src="{{ url($form->back_ic) }}">
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td style="font-size: 14; font-weight: bold;">
Visa (Front)
</td>
</tr>
<tr><td height="5"></td></tr>
<tr>
<td width="100%">
<img style="display:block;max-width:670px;height:auto" src="{{ url($form->visaF) }}">
</td>
</tr>
<tr><td height="5"></td></tr>
<tr>
<td style="font-size: 14; font-weight: bold;">
Visa (Back)
</td>
</tr>
<tr><td height="5"></td></tr>
<tr>
<td width="100%">
<img style="display:block;max-width:670px;height:auto" src="{{ url($form->visaB) }}">
</td>
</tr>
</table>
</td>
</tr>
</table>
@elseif($ext5 == "pdf" && $ext6 == "pdf")
@else
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<div class="page-break"></div>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td>
@if($form->back_ic != "" && $form->front_ic != "")
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td align="center" style="font-size: 16; font-weight: bold;">
@@ -597,6 +527,7 @@
</td>
</tr>
<tr><td height="10"></td></tr>
@if ($ext1 != "pdf")
<tr>
<td style="font-size: 14; font-weight: bold;">
Identity Card (Front)
@@ -608,7 +539,9 @@
<img style="display:block;max-width:670px;height:auto" src="{{ url($form->front_ic) }}">
</td>
</tr>
@endif
<tr><td height="5"></td></tr>
@if ($ext2 != "pdf")
<tr>
<td style="font-size: 14; font-weight: bold;">
Identity Card (Back)
@@ -620,456 +553,68 @@
<img style="display:block;max-width:670px;height:auto" src="{{ url($form->back_ic) }}">
</td>
</tr>
@endif
</table>
</td>
</tr>
</table>
@endif
@elseif(($ext3 == "jpeg" && $ext4 == "jpeg") || ($ext3 == "jpg" && $ext4 == "jpg") || ($ext3 == "JPG" && $ext4 == "JPG"))
@if(($ext5 == "jpeg" && $ext6 == "jpeg") || ($ext5 == "jpg" && $ext6 == "jpg") || ($ext5 == "JPG" && $ext6 == "JPG"))
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td align="center" style="font-size: 16; font-weight: bold;">
Attachment
</td>
</tr>
<tr><td height="10"></td></tr>
<tr>
<td style="font-size: 14; font-weight: bold;">
Identity Card (Front)
</td>
</tr>
<tr><td height="5"></td></tr>
<tr>
<td width="100%">
<img style="display:block;max-width:670px;height:auto" src="{{ url($form->front_ic) }}">
</td>
</tr>
<tr><td height="5"></td></tr>
<tr>
<td style="font-size: 14; font-weight: bold;">
Identity Card (Back)
</td>
</tr>
<tr><td height="5"></td></tr>
<tr>
<td width="100%">
<img style="display:block;max-width:670px;height:auto" src="{{ url($form->back_ic) }}">
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td style="font-size: 14; font-weight: bold;">
Visa (Front)
</td>
</tr>
<tr><td height="5"></td></tr>
<tr>
<td width="100%">
<img style="display:block;max-width:670px;height:auto" src="{{ url($form->visaF) }}">
</td>
</tr>
<tr><td height="5"></td></tr>
<tr>
<td style="font-size: 14; font-weight: bold;">
Visa (Back)
</td>
</tr>
<tr><td height="5"></td></tr>
<tr>
<td width="100%">
<img style="display:block;max-width:670px;height:auto" src="{{ url($form->visaB) }}">
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td style="font-size: 14; font-weight: bold;">
Form 24_49
</td>
</tr>
<tr><td height="5"></td></tr>
<tr>
<td width="100%">
<img style="display:block;max-width:670px;height:auto" src="{{ url($form->form24_49) }}">
</td>
</tr>
<tr><td height="5"></td></tr>
<tr>
<td style="font-size: 14; font-weight: bold;">
Form 9_44
</td>
</tr>
<tr><td height="5"></td></tr>
<tr>
<td width="100%">
<img style="display:block;max-width:670px;height:auto" src="{{ url($form->form9_44) }}">
</td>
</tr>
</table>
</td>
</tr>
</table>
@elseif($ext5 == "pdf" && $ext6 == "pdf")
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td align="center" style="font-size: 16; font-weight: bold;">
Attachment
</td>
</tr>
<tr><td height="10"></td></tr>
<tr>
<td style="font-size: 14; font-weight: bold;">
Identity Card (Front)
</td>
</tr>
<tr><td height="5"></td></tr>
<tr>
<td width="100%">
<img style="display:block;max-width:670px;height:auto" src="{{ url($form->front_ic) }}">
</td>
</tr>
<tr><td height="5"></td></tr>
<tr>
<td style="font-size: 14; font-weight: bold;">
Identity Card (Back)
</td>
</tr>
<tr><td height="5"></td></tr>
<tr>
<td width="100%">
<img style="display:block;max-width:670px;height:auto" src="{{ url($form->back_ic) }}">
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td style="font-size: 14; font-weight: bold;">
Form 24_49
</td>
</tr>
<tr><td height="5"></td></tr>
<tr>
<td width="100%">
<img style="display:block;max-width:670px;height:auto" src="{{ url($form->form24_49) }}">
</td>
</tr>
<tr><td height="5"></td></tr>
<tr>
<td style="font-size: 14; font-weight: bold;">
Form 9_44
</td>
</tr>
<tr><td height="5"></td></tr>
<tr>
<td width="100%">
<img style="display:block;max-width:670px;height:auto" src="{{ url($form->form9_44) }}">
</td>
</tr>
</table>
</td>
</tr>
</table>
@else
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td align="center" style="font-size: 16; font-weight: bold;">
Attachment
</td>
</tr>
<tr><td height="10"></td></tr>
<tr>
<td style="font-size: 14; font-weight: bold;">
Identity Card (Front)
</td>
</tr>
<tr><td height="5"></td></tr>
<tr>
<td width="100%">
<img style="display:block;max-width:670px;height:auto" src="{{ url($form->front_ic) }}">
</td>
</tr>
<tr><td height="5"></td></tr>
<tr>
<td style="font-size: 14; font-weight: bold;">
Identity Card (Back)
</td>
</tr>
<tr><td height="5"></td></tr>
<tr>
<td width="100%">
<img style="display:block;max-width:670px;height:auto" src="{{ url($form->back_ic) }}">
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td style="font-size: 14; font-weight: bold;">
Form 24_49
</td>
</tr>
<tr><td height="5"></td></tr>
<tr>
<td width="100%">
<img style="display:block;max-width:670px;height:auto" src="{{ url($form->form24_49) }}">
</td>
</tr>
<tr><td height="5"></td></tr>
<tr>
<td style="font-size: 14; font-weight: bold;">
Form 9_44
</td>
</tr>
<tr><td height="5"></td></tr>
<tr>
<td width="100%">
<img style="display:block;max-width:670px;height:auto" src="{{ url($form->form9_44) }}">
</td>
</tr>
</table>
</td>
</tr>
</table>
@if($form->form9_44 != "" && $ext3 != "pdf")
<tr>
<td>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td style="font-size: 14; font-weight: bold;">
Company Form
</td>
</tr>
<tr><td height="5"></td></tr>
<tr>
<td width="100%" style="text-align: center">
<img style="display:block;max-width:700px;max-height:500px" src="{{ url($form->form9_44) }}">
</td>
</tr>
</table>
</td>
</tr>
@endif
@endif
@elseif($ext1 == "pdf" && $ext2 == "pdf")
@if($ext3 == "pdf" && $ext4 == "pdf")
@if($ext5 == "pdf" && $ext6 == "pdf")
@elseif(($ext5 == "jpeg" && $ext6 == "jpeg") || ($ext5 == "jpg" && $ext6 == "jpg") || ($ext5 == "JPG" && $ext6 == "JPG"))
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td align="center" style="font-size: 16; font-weight: bold;">
Attachment
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td style="font-size: 14; font-weight: bold;">
Visa (Front)
</td>
</tr>
<tr><td height="5"></td></tr>
<tr>
<td width="100%">
<img style="display:block;max-width:670px;height:auto" src="{{ url($form->visaF) }}">
</td>
</tr>
<tr><td height="5"></td></tr>
<tr>
<td style="font-size: 14; font-weight: bold;">
Visa (Back)
</td>
</tr>
<tr><td height="5"></td></tr>
<tr>
<td width="100%">
<img style="display:block;max-width:670px;height:auto" src="{{ url($form->visaB) }}">
</td>
</tr>
</table>
</td>
</tr>
</table>
@else
@if($form->paymentReceipt != "" && $ext4 !="pdf")
<tr>
<td>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td style="font-size: 14; font-weight: bold;">
Upfront Payment Receipt
</td>
</tr>
<tr><td height="5"></td></tr>
<tr>
<td width="100%" style="text-align: center">
<img style="display:block;max-width:700px;max-height:500px" src="{{ url($form->paymentReceipt) }}">
</td>
</tr>
</table>
</td>
</tr>
@endif
@elseif(($ext3 == "jpeg" && $ext4 == "jpeg") || ($ext3 == "jpg" && $ext4 == "jpg") || ($ext3 == "JPG" && $ext4 == "JPG"))
@if($ext5 == "pdf" && $ext6 == "pdf")
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td align="center" style="font-size: 16; font-weight: bold;">
Attachment
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td style="font-size: 14; font-weight: bold;">
Form 24_49
</td>
</tr>
<tr><td height="5"></td></tr>
<tr>
<td width="100%">
<img style="display:block;max-width:670px;height:auto" src="{{ url($form->form24_49) }}">
</td>
</tr>
<tr><td height="5"></td></tr>
<tr>
<td style="font-size: 14; font-weight: bold;">
Form 9_44
</td>
</tr>
<tr><td height="5"></td></tr>
<tr>
<td width="100%">
<img style="display:block;max-width:670px;height:auto" src="{{ url($form->form9_44) }}">
</td>
</tr>
</table>
</td>
</tr>
</table>
@elseif(($ext5 == "jpeg" && $ext6 == "jpeg") || ($ext5 == "jpg" && $ext6 == "jpg") || ($ext5 == "JPG" && $ext6 == "JPG"))
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td align="center" style="font-size: 16; font-weight: bold;">
Attachment
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td style="font-size: 14; font-weight: bold;">
Visa (Front)
</td>
</tr>
<tr><td height="5"></td></tr>
<tr>
<td width="100%">
<img style="display:block;max-width:670px;height:auto" src="{{ url($form->visaF) }}">
</td>
</tr>
<tr><td height="5"></td></tr>
<tr>
<td style="font-size: 14; font-weight: bold;">
Visa (Back)
</td>
</tr>
<tr><td height="5"></td></tr>
<tr>
<td width="100%">
<img style="display:block;max-width:670px;height:auto" src="{{ url($form->visaB) }}">
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td style="font-size: 14; font-weight: bold;">
Form 24_49
</td>
</tr>
<tr><td height="5"></td></tr>
<tr>
<td width="100%">
<img style="display:block;max-width:670px;height:auto" src="{{ url($form->form24_49) }}">
</td>
</tr>
<tr><td height="5"></td></tr>
<tr>
<td style="font-size: 14; font-weight: bold;">
Form 9_44
</td>
</tr>
<tr><td height="5"></td></tr>
<tr>
<td width="100%">
<img style="display:block;max-width:670px;height:auto" src="{{ url($form->form9_44) }}">
</td>
</tr>
</table>
</td>
</tr>
</table>
@else
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td align="center" style="font-size: 16; font-weight: bold;">
Attachment
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td style="font-size: 14; font-weight: bold;">
Form 24_49
</td>
</tr>
<tr><td height="5"></td></tr>
<tr>
<td width="100%">
<img style="display:block;max-width:670px;height:auto" src="{{ url($form->form24_49) }}">
</td>
</tr>
<tr><td height="5"></td></tr>
<tr>
<td style="font-size: 14; font-weight: bold;">
Form 9_44
</td>
</tr>
<tr><td height="5"></td></tr>
<tr>
<td width="100%">
<img style="display:block;max-width:670px;height:auto" src="{{ url($form->form9_44) }}">
</td>
</tr>
</table>
</td>
</tr>
</table>
@if($form->soForm != "" && $ext5 !="pdf")
<tr>
<td>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td style="font-size: 14; font-weight: bold;">
Service Order Form
</td>
</tr>
<tr><td height="5"></td></tr>
<tr>
<td width="100%" style="text-align: center">
<img style="display:block;max-width:700px;max-height:500px" src="{{ url($form->soForm) }}">
</td>
</tr>
</table>
</td>
</tr>
@endif
@endif
@endif
@endif
</table>
</body>
</html>

Loading…
Cancel
Save