PageRenderTime 38ms CodeModel.GetById 11ms RepoModel.GetById 0ms app.codeStats 0ms

/application/views/reportprints/order_voucher_save.html

https://bitbucket.org/Digitalsoftspvt/sttoka
HTML | 237 lines | 212 code | 17 blank | 8 comment | 0 complexity | ce22654cbd87bf6b7453baa37c2a7f04 MD5 | raw file
  1. <!doctype html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>Voucher</title>
  6. <link rel="stylesheet" href="../../assets/css/bootstrap.min.css">
  7. <link rel="stylesheet" href="../../assets/css/bootstrap-responsive.min.css">
  8. <link rel="stylesheet" href="../../../assets/bootstrap/css/bootstrap.min.css">
  9. <style>
  10. * { margin: 0; padding: 0; font-family: tahoma !important; }
  11. body { font-size:10px !important; }
  12. p { margin: 0 !important; /* line-height: 17px !important; */ }
  13. .field { font-size:12px !important; font-weight: bold !important; display: inline-block !important; width: 100px !important; }
  14. .field1 { font-size:12px !important; font-weight: bold !important; display: inline-block !important; width: 150px !important; }
  15. .voucher-table{ border-collapse: none !important; }
  16. table { width: 100% !important; border: 0px solid black !important; border-collapse:collapse !important; table-layout:fixed !important; margin-left:1px}
  17. th { padding: 5px !important; }
  18. td { /*text-align: center !important;*/ vertical-align: top !important; }
  19. td:first-child { }
  20. .voucher-table thead th {background: #ccc !important; }
  21. tfoot {border-top: 0px solid black !important; }
  22. .bold-td { font-weight: bold !important; border-bottom: 0px solid black !important;}
  23. .nettotal { font-weight: bold !important; font-size: 11px !important; border-top: 0px solid black !important; }
  24. .invoice-type { border-bottom: 0px solid black !important; }
  25. .relative { position: relative !important; }
  26. .signature-fields{ font-size: 10px; border: none !important; border-spacing: 20px !important; border-collapse: separate !important;}
  27. .signature-fields th {border: 0px !important; border-top: 1px solid black !important; border-spacing: 10px !important; }
  28. .inv-leftblock { width: 280px !important; }
  29. .text-left { text-align: left !important; }
  30. .text-right { text-align: right !important; }
  31. td {font-size: 12px !important; font-family: tahoma !important; line-height: 14px !important; padding: 4px !important; }
  32. .rcpt-header { width: 550px !important; margin: auto !important; display: block !important; }
  33. .inwords, .remBalInWords { text-transform: uppercase !important; }
  34. .barcode { margin: auto !important; }
  35. h3.invoice-type {font-size: 16px !important; line-height: 24px !important;}
  36. .extra-detail span { background: #7F83E9 !important; color: white !important; padding: 5px !important; margin-top: 17px !important; display: block !important; margin: 5px 0px !important; font-size: 12px !important; text-transform: uppercase !important; letter-spacing: 1px !important;}
  37. .nettotal { color: red !important; font-size: 12px !important;}
  38. .remainingBalance { font-weight: bold !important; color: blue !important;}
  39. .centered { margin: auto !important; }
  40. p { position: relative !important; font-size: 12px !important; }
  41. thead th { font-size: 12px !important; font-weight: bold !important; padding: 10px !important; }
  42. .fieldvalue { font-size:12px !important; position: absolute !important; width: 497px !important; }
  43. @media print {
  44. .noprint, .noprint * { display: none !important; }
  45. }
  46. .pl20 { padding-left: 20px !important;}
  47. .pl40 { padding-left: 40px !important;}
  48. .barcode { float: right !important; }
  49. .item-row td { font-size: 12px !important; padding: 10px !important; border-top: 0px solid black !important;}
  50. .footer_company td { font-size: 8px !important; padding: 10px !important; border-top: 0px solid black !important;}
  51. .rcpt-header { width: 305px !important; margin: 0px !important; display: inline !important; position: absolute !important; top: 0px !important; right: 0px !important; }
  52. h3.invoice-type { border: none !important; margin: 0px !important; position: relative !important; top: 34px !important; }
  53. tfoot tr td { font-size: 10px !important; padding: 10px !important; }
  54. .subtotalend { font-size: 12px !important; font-weight: bold !important;text-align: right !important; }
  55. .nettotal, .subtotal, .vrqty,.vrweight { font-size: 12px !important; font-weight: bold !important;text-align: right !important; color: red;}
  56. </style>
  57. </head>
  58. <body>
  59. <div class="container-fluid" style="">
  60. <div class="row-fluid">
  61. <div class="span12 centered">
  62. <!-- <div class="row-fluid top-img-head" style="display:none; padding-top: 15px; padding-bottom: 15px;">
  63. <div class="span12">
  64. <img src="#" class="top-head" alt="">
  65. </div>
  66. </div> -->
  67. <div class="row-fluid relative">
  68. <div class="span12">
  69. <div class="block pull-left inv-leftblock" style="width:250px !important; display:inline !important;">
  70. <p><span class="field">Invoice#</span><span class="fieldvalue inv-vrnoa"><?php echo $vrdetail[0]['vrnoa'];?></span></p>
  71. <p><span class="field">Date:</span><span class="fieldvalue inv-date"><?php echo date('d-M-y', strtotime($vrdetail[0]['vrdate']));;?></span></p>
  72. <p><span class="field ">Customer:</span><span class="fieldvalue cust-name"><?php echo $vrdetail[0]['party_name'];?></span></p>
  73. <p><span class="field">Remarks:</span><span class="fieldvalue cust-mobile"><?php echo $vrdetail[0]['remarks'];?></span></p>
  74. <!-- <p><span class="field">Receipt By</span><span class="fieldvalue rcptBy">[Receipt By]</span></p> -->
  75. </div>
  76. <div class="block pull-right" style="width:280px !important; float: right; display:inline !important;">
  77. <div class="span12"><img style="float:right; width:280px !important;" class="rcpt-header logo-img" src="<?php echo $header_img;?>" alt=""></div>
  78. <h3 class="invoice-type text-right" style="border:none !important; margin: 0px !important; position: relative; top: 12px !important; "><?php echo $title;?></h3>
  79. </div>
  80. </div>
  81. </div>
  82. <br>
  83. <br>
  84. <br>
  85. <div class="row-fluid">
  86. <table class="voucher-table">
  87. <thead>
  88. <tr>
  89. <th style=" width: 10px; " >Sr#</th>
  90. <th style=" width: 100px; text-align:left; ">Description</th>
  91. <th style=" width: 10px; ">Uom</th>
  92. <th style=" width: 15px; " class='text-right'>Qty</th>
  93. <th style=" width: 18px; " class='text-right'>Weight</th>
  94. <th style=" width: 15px; " class='text-right'>Rate</th>
  95. <th style=" width: 30px; " class='text-right'>Amount</th>
  96. </tr>
  97. </thead>
  98. <tbody>
  99. <?php
  100. $serial = 1;
  101. $netQty = 0;
  102. $netAmount=0;
  103. $netWeight=0;
  104. $typee='';
  105. $typee22='';
  106. foreach ($vrdetail as $row):
  107. if ($row['type']!==$typee){
  108. if($serial!=1){ ?>
  109. <tr class="foot-comments">
  110. <td class="subtotalend bold-td text-right" colspan="3">Subtotal:</td>
  111. <td class="subtotalend bold-td text-right"><?php number_format($netQty,2);?></td>
  112. <td class="subtotalend bold-td text-right"><?php echo number_format($netWeight,2);?></td>
  113. <td class="subtotalend bold-td text-right"></td>
  114. <td class="subtotalend bold-td text-right"><?php echo number_format($netAmount,2);?></td>
  115. </tr>
  116. <?php
  117. }
  118. ?>
  119. <td class="bold-td text-left" colspan="7"><?php echo $row['type'];?></td>
  120. <?php
  121. $typee=$row['type'];
  122. $netQty = 0;
  123. $netAmount=0;
  124. $netWeight=0;
  125. }
  126. ?>
  127. <tr class="item-row">
  128. <td class='text-left'><?php echo $serial++;?></td>
  129. <td class='text-left'><?php echo $row['item_name'];?></td>
  130. <td class='text-centre'><?php echo $row['uom'];?></td>
  131. <td class='text-right'><?php echo number_format(abs($row['qty']),2);?></td>
  132. <td class='text-right'><?php echo number_format(abs($row['weight']),2);?></td>
  133. <td class='text-right'><?php echo number_format(($row['rate']),2);?></td>
  134. <td class="text-right"><?php echo number_format(($row['amount']),2);?></td>
  135. </tr>
  136. <?php
  137. $netQty += abs($row['qty']);
  138. $netAmount += $row['amount'];
  139. $netWeight += abs($row['weight']);
  140. endforeach?>
  141. </tbody>
  142. <tfoot>
  143. <tr class="foot-comments">
  144. <td class="subtotalend bold-td text-right" colspan="3">Subtotal:</td>
  145. <td class="subtotalend bold-td text-right"><?php number_format($netQty,2);?></td>
  146. <td class="subtotalend bold-td text-right"><?php echo number_format($netWeight,2);?></td>
  147. <td class="subtotalend bold-td text-right"></td>
  148. <td class="subtotalend bold-td text-right"><?php echo number_format($netAmount,2);?></td>
  149. </tr>
  150. <?php if(intval($vrdetail[0]['discount'])!=0){?>
  151. <tr>
  152. <td class="subtotal bold-td text-right discount-td " colspan="5">Discount:</td>
  153. <td class="subtotal bold-td text-right"><?php echo number_format(($vrdetail[0]['discp']),2) . '% ';?></td>
  154. <td class="subtotal bold-td text-right"><?php echo number_format(($vrdetail[0]['discount']),2);?></td>
  155. </tr>
  156. <?php }?>
  157. <?php if(intval($vrdetail[0]['expense'])!=0){?>
  158. <tr>
  159. <td class="subtotal bold-td text-right discount-td " colspan="5">Expense:</td>
  160. <td class="subtotal bold-td text-right"><?php echo number_format(($vrdetail[0]['exppercent']),2) . '% ';?></td>
  161. <td class="subtotal bold-td text-right"><?php echo number_format(($vrdetail[0]['expense']),2);?></td>
  162. </tr>
  163. <?php }?>
  164. <?php if(intval($vrdetail[0]['tax'])!=0){?>
  165. <tr>
  166. <td class="subtotal bold-td text-right discount-td " colspan="5">Tax:</td>
  167. <td class="subtotal bold-td text-right"><?php echo number_format(($vrdetail[0]['taxpercent']),2) . '% ';?></td>
  168. <td class="subtotal bold-td text-right"><?php echo number_format(($vrdetail[0]['tax']),2);?></td>
  169. </tr>
  170. <?php }?>
  171. <?php if(!(intval($vrdetail[0]['tax'])==0 && intval($vrdetail[0]['discount'])==0 && intval($vrdetail[0]['expense'])==0 && intval($vrdetail[0]['paid'])==0) ){?>
  172. <tr>
  173. <td class="subtotal bold-td text-right discount-td " colspan="5">NetAmount:</td>
  174. <td class="subtotal add-lower text-right"></td>
  175. <td class="subtotal bold-td text-right"><?php echo number_format(($vrdetail[0]['namount']),2);?></td>
  176. </tr>
  177. <?php }?>
  178. </tfoot>
  179. </table>
  180. </div>
  181. <div class="row-fluid">
  182. <div class="span12 add-on-detail1" style="margin-top: 10px;">
  183. <p class="" style="text-transform1: uppercase;">
  184. <strong>In words: </strong> <span class="inwords"></span><?php echo $amtInWords;?>ONLY <br>
  185. <br>
  186. <?php if ( $pre_bal_print==1 ){?>
  187. <p><span class="field1">Previous Balance:</span><span class="fieldvalue inv-vrnoa"><?php echo number_format($previousBalance,0);?></span></p>
  188. <p><span class="field1">This Invoice:</span><span class="fieldvalue inv-date"><?php echo number_format($vrdetail[0]['namount'],0);?></span></p>
  189. <p><span class="field1">Current Balance:</span><span class="fieldvalue cust-name"><?php echo number_format($vrdetail[0]['namount']+$previousBalance,2) ;?></span></p>
  190. <?php };?>
  191. </p>
  192. </div>
  193. </div>
  194. <!-- End row-fluid -->
  195. <br>
  196. <br>
  197. <div class="row-fluid">
  198. <div class="span12">
  199. <table class="signature-fields">
  200. <thead>
  201. <tr>
  202. <th>Approved By</th>
  203. <th>Accountant</th>
  204. <th>Received By</th>
  205. </tr>
  206. </thead>
  207. </table>
  208. </div>
  209. </div>
  210. <div class="row-fluid">
  211. <p>
  212. <span class="footer_company">User:<?php echo $user;?></span><br>
  213. <!-- <span class="footer_company">Sofware By: www.digitalsofts.com, Mob:03218661765</span> -->
  214. </p>
  215. </div>
  216. </div>
  217. </div>
  218. </div>
  219. </body>
  220. </html>