You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

agent-claim.blade.php 7.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233
  1. <!doctype html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <style type="text/css">
  6. @page {
  7. margin: 0px;
  8. }
  9. body {
  10. margin: 0px;
  11. }
  12. * {
  13. font-family: Verdana, Arial, sans-serif;
  14. }
  15. a {
  16. color: #fff;
  17. text-decoration: none;
  18. }
  19. table {
  20. font-size: x-small;
  21. }
  22. tfoot tr td {
  23. font-weight: bold;
  24. font-size: x-small;
  25. }
  26. .invoice table {
  27. margin: 15px;
  28. }
  29. .invoice table td{
  30. border: 1px solid #333;
  31. padding: 5px;
  32. }
  33. .invoice h3, .invoice h5 {
  34. margin-left: 15px;
  35. }
  36. .invoice{
  37. margin:15px;
  38. }
  39. .information {
  40. /*background-color: #FFF;
  41. color: #333;*/
  42. background-color: #EA5730;
  43. color: #FFF;
  44. font-size: 14px;
  45. }
  46. .information pre{
  47. margin-left: 0px;
  48. }
  49. .information .logo {
  50. margin: 5px;
  51. }
  52. .information table, .informations table{
  53. padding: 10px;
  54. }
  55. .informations{
  56. background-color: #EA5730;
  57. color: #FFF;
  58. }
  59. .page-break {
  60. page-break-after: always;
  61. }
  62. </style>
  63. </head>
  64. <body>
  65. <div class="information">
  66. <table width="100%">
  67. <tr>
  68. <td align="left" style="width: 50%;"><h3>{{ $com->name }}</h3></td>
  69. <td align="right" style="width: 50%;"><h3>Allo Technology Sdn. Bhd.</h3></td>
  70. </tr>
  71. <tr>
  72. <td align="left" style="width: 50%;">
  73. <pre>
  74. {{ $com->address }}
  75. {{ $com->postcode }}, {{ $com->city }}, {{ $com->state }}
  76. </pre>
  77. </td>
  78. <td align="right" style="width: 50%;">
  79. <pre>
  80. Cyberview Garden Villas,
  81. Persiaran Multimedia, Cyber 7,
  82. 63000 Cyberjaya, Malaysia
  83. </pre>
  84. </td>
  85. </tr>
  86. </table>
  87. </div>
  88. <br/>
  89. <div class="invoice">
  90. <table width="100%" style="font-size: 15px; font-weight:bold">
  91. <tr>
  92. @if ($invoice_no!=null)
  93. <td style="border: none" >Invoice Number : {{$invoice_no}}</td>
  94. <td style="border: none" align="right">Issue Date: {{ date("d/m/Y H:i:s") }}</td>
  95. @else
  96. <td style="border: none">Issue Date: {{ date("d/m/Y H:i:s") }}</td>
  97. @endif
  98. </tr>
  99. <tr>
  100. <td style="border: none">Invoice Claim: {{ $month }} / {{ $year}}</td>
  101. <td style="border: none" align="right">Invoice Claim Date Range: 01/{{$month}}/{{$year}} - {{cal_days_in_month(CAL_GREGORIAN,$month,$year)}}/{{$month}}/{{$year}}</td>
  102. </tr>
  103. @if ($project_type!=null)
  104. <tr >
  105. <td colspan="2" style="border: none" >Project Type : {{$project_type}}</td>
  106. </tr>
  107. @endif
  108. </table>
  109. <table width="100%" cellpadding="0" cellpadding="0">
  110. <thead>
  111. <tr>
  112. <th>#</th>
  113. <th>Contract</th>
  114. <th>W/O</th>
  115. <th>D/O</th>
  116. <th>Activation</th>
  117. <th>Name</th>
  118. <th>Address</th>
  119. <th>Package</th>
  120. <th>Retail Price</th>
  121. <th>Incentives (%)</th>
  122. <th>Incentives (RM)</th>
  123. <th>Total Claim</th>
  124. </tr>
  125. </thead>
  126. <tbody>
  127. <?php $i = 0; $total = 0;?>
  128. @foreach($final as $key => $c)
  129. <?php $i++; ?>
  130. <tr>
  131. <td>{{ $key+1 }}{{ $c['index'] }}</td>
  132. <td>{{ $c['contract'] }}</td>
  133. <td>{{ $c['wo'] }}</td>
  134. <td>{{ $c['do'] }}</td>
  135. <td>{{ $c['activated_dt'] }}</td>
  136. <td>{{ $c['name'] }}</td>
  137. <td>{{ $c['address'] }}</td>
  138. <td>{{ $c['package'] }}</td>
  139. <td>{{ $c['retail_price'] }}</td>
  140. <td>{{ $c['incentives1']}}</td>
  141. <td>{{ $c['incentives2']}}</td>
  142. <td>{{ $c['total'] }}</td>
  143. </tr>
  144. @endforeach
  145. </tbody>
  146. <tfoot>
  147. <tr>
  148. <td colspan="10"></td>
  149. <td align="left">Additional Incentives</td>
  150. <td align="left" class="gray">RM {{ $extra }}</td>
  151. </tr>
  152. <tr>
  153. <td colspan="10"></td>
  154. <td align="left">Incentives</td>
  155. <td align="left" class="gray">RM {{ $basic_total }}</td>
  156. </tr>
  157. <tr>
  158. <td colspan="10"></td>
  159. <td align="left">Total</td>
  160. <td align="left" class="gray">RM {{ $totals }}</td>
  161. </tr>
  162. <tr>
  163. <td colspan="12" style="border:none"> <p style="color: red" >This is system auto-generated. Payment will be processed within 45 days.</p> </td>
  164. </tr>
  165. </tfoot>
  166. </table>
  167. <div class="page-break"></div>
  168. <table width="100%" style>
  169. <tr>
  170. <td width="50%">Business Registration Number : {{$com->reg_no}} </td>
  171. <td width="50%">Contact Number : {{$com->contact}}</td>
  172. </tr>
  173. <tr>
  174. <td colspan="2" style="font-weight: bold ; border:none">Bank Account Details</td>
  175. </tr>
  176. <tr>
  177. <td width="50%">Bank Name : {{$com->bank_name}} </td>
  178. <td width="50%">Account Number : {{$com->acc_no}}</td>
  179. </tr>
  180. <tr>
  181. <td width="50%">Account Holder Name : {{$com->acc_holder_name}}</td>
  182. <td width="50%">Finance Email Address : {{$com->fin_email}}</td>
  183. </tr>
  184. </table>
  185. <table width="100%" cellpadding="0" cellpadding="0" style="margin-top: 80px">
  186. <tr>
  187. <th align="left" width="100%" colspan="3" >------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- <br> *For Internal Use </th>
  188. </tr>
  189. <tr>
  190. <th width="33%">Submitted By</th>
  191. <th width="33%">Verified By</th>
  192. <th width="33%">Acknowledged By</th>
  193. </tr>
  194. <tr>
  195. <td height="50"></td>
  196. <td height="50"></td>
  197. <td height="50"></td>
  198. </tr>
  199. <tr>
  200. <td>Date:</td>
  201. <td>Date:</td>
  202. <td>Date:</td>
  203. </tr>
  204. <tr>
  205. <td>Designation:</td>
  206. <td>Designation:</td>
  207. <td>Designation:</td>
  208. </tr>
  209. </table>
  210. </div>
  211. <div class="informations" style="position: absolute; bottom: 0;">
  212. <table width="100%">
  213. <tr style="width: 100%;">
  214. <td align="left" style="width: 100%;">
  215. &copy; Allo Technology Sdn. Bhd. - All rights reserved.
  216. </td>
  217. <!-- <td align="right" style="width: 50%;">
  218. Company Slogan
  219. </td> -->
  220. </tr>
  221. </table>
  222. </div>
  223. </body>
  224. </html>