Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

agent-claim.blade.php 5.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185
  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. </style>
  60. </head>
  61. <body>
  62. <div class="information">
  63. <table width="100%">
  64. <tr>
  65. <td align="left" style="width: 50%;"><h3>{{ $com->name }}</h3></td>
  66. <td align="right" style="width: 50%;"><h3>Allo Sdn. Bhd</h3></td>
  67. </tr>
  68. <tr>
  69. <td align="left" style="width: 50%;">
  70. <pre>
  71. {{ $com->address }}
  72. {{ $com->postcode }}, {{ $com->city }}, {{ $com->state }}
  73. </pre>
  74. </td>
  75. <td align="right" style="width: 50%;">
  76. <pre>
  77. Cyberview Garden Villas,
  78. Persiaran Multimedia, Cyber 7,
  79. 63000 Cyberjaya, Malaysia
  80. </pre>
  81. </td>
  82. </tr>
  83. </table>
  84. </div>
  85. <br/>
  86. <div class="invoice">
  87. <h3>Invoice Number : {{$invoice_no}}</h3>
  88. <h3>Invoice Claim: {{ $month }} / {{ $year}}</h3>
  89. <h5>Issue Date: {{ date("d/m/Y H:i:s") }}</h5>
  90. <table width="100%" cellpadding="0" cellpadding="0">
  91. <thead>
  92. <tr>
  93. <th>#</th>
  94. <th>Contract</th>
  95. <th>W/O</th>
  96. <th>Activation</th>
  97. <th>Name</th>
  98. <th>Address</th>
  99. <th>Package</th>
  100. <th>Retail Price</th>
  101. <th>Incentives (%)</th>
  102. <th>Incentives (RM)</th>
  103. <th>Total Claim</th>
  104. </tr>
  105. </thead>
  106. <tbody>
  107. <?php $i = 0; $total = 0;?>
  108. @foreach($final as $key => $c)
  109. <?php $i++; ?>
  110. <tr>
  111. <td>{{ $key+1 }}{{ $c['index'] }}</td>
  112. <td>{{ $c['contract'] }}</td>
  113. <td>{{ $c['wo'] }}</td>
  114. <td>{{ $c['activated_dt'] }}</td>
  115. <td>{{ $c['name'] }}</td>
  116. <td>{{ $c['address'] }}</td>
  117. <td>{{ $c['package'] }}</td>
  118. <td>{{ $c['retail_price'] }}</td>
  119. <td>{{ $c['incentives1']}}</td>
  120. <td>{{ $c['incentives2']}}</td>
  121. <td>{{ $c['total'] }}</td>
  122. </tr>
  123. @endforeach
  124. </tbody>
  125. <tfoot>
  126. <tr>
  127. <td colspan="9"></td>
  128. <td align="left">Additional Incentives</td>
  129. <td align="left" class="gray">RM {{ $extra }}</td>
  130. </tr>
  131. <tr>
  132. <td colspan="9"></td>
  133. <td align="left">Incentives</td>
  134. <td align="left" class="gray">RM {{ $basic_total }}</td>
  135. </tr>
  136. <tr>
  137. <td colspan="9"></td>
  138. <td align="left">Total</td>
  139. <td align="left" class="gray">RM {{ $totals }}</td>
  140. </tr>
  141. </tfoot>
  142. </table>
  143. <table width="100%" cellpadding="0" cellpadding="0" style="margin-top: 80px">
  144. <tr>
  145. <th width="33%">Submitted By</th>
  146. <th width="33%">Verified By</th>
  147. <th width="33%">Approved By</th>
  148. </tr>
  149. <tr>
  150. <td height="50"></td>
  151. <td height="50"></td>
  152. <td height="50"></td>
  153. </tr>
  154. <tr>
  155. <td>Date:</td>
  156. <td>Date:</td>
  157. <td>Date:</td>
  158. </tr>
  159. <tr>
  160. <td>Designation:</td>
  161. <td>Designation:</td>
  162. <td>Designation:</td>
  163. </tr>
  164. </table>
  165. </div>
  166. <div class="informations" style="position: absolute; bottom: 0;">
  167. <table width="100%">
  168. <tr style="width: 100%;">
  169. <td align="left" style="width: 100%;">
  170. &copy; Allo Sdn Bhd - All rights reserved.
  171. </td>
  172. <!-- <td align="right" style="width: 50%;">
  173. Company Slogan
  174. </td> -->
  175. </tr>
  176. </table>
  177. </div>
  178. </body>
  179. </html>