asadlive84

pdf html

Nov 7th, 2017
424
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 11.07 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4.     <meta charset="UTF-16">
  5.     <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6.     <meta http-equiv="X-UA-Compatible" content="ie=edge">
  7.  
  8.  
  9.  
  10.     <title>invoice copy {% if customers.customer_name %}Customer Name:{{customers.customer_name}}{% else %}
  11.     Name: দেওয়া হয়নি{% endif %} | {{customers.customer_uid}}</title>
  12.  
  13. <head>
  14.     <style>
  15.         @import url('https://fonts.maateen.me/siyam-rupali/font.css');
  16.         table,
  17.         th,
  18.         td {
  19.             border: 1px solid black;
  20.         }
  21.  
  22.         th,
  23.         td {
  24.             padding: 5px;
  25.             text-align: left;
  26.         }
  27.         p,th,td,th,tr{
  28.             font-size:10px;line-height:12px
  29.             font-family: 'SiyamRupali', sans-serif;
  30.         }
  31.         .border_sx {
  32.             border-style: solid;
  33.             border-width: 1px;
  34.             padding: 5px;
  35.             border-radius: 5px;
  36.             display:block;
  37.             width: 100%;
  38.             margin-right:-100px;
  39.             padding: 10px;
  40.  
  41. }
  42.  
  43.  
  44.         #background{
  45.     position:absolute;
  46.     z-index:0;
  47.     background:white;
  48.     display:block;
  49.     min-height:50%;
  50.     min-width:50%;
  51.     color:yellow;
  52. }
  53.  
  54. #content{
  55.     position:absolute;
  56.     z-index:0.1;
  57. }
  58.  
  59. #bg-text
  60. {
  61.     color:lightgrey;
  62.     font-size:70px;
  63.     margin-top: 160px;
  64.    
  65.     margin-right: 40px;
  66.     transform:rotate(320deg);
  67.     -webkit-transform:rotate(300deg);
  68. }
  69.  
  70. #bg-text-one
  71. {
  72.     color:lightgrey;
  73.     font-size:20px;
  74.     line-height: 25px;
  75.     margin-right: 100px;
  76.     margin-bottom: 800px;
  77.     margin-top: -10px;
  78.     transform:rotate(320deg);
  79.     -webkit-transform:rotate(300deg);
  80. }
  81.     #fix_font
  82.     {
  83.         font-size: 13.5px;
  84.     }
  85.  
  86.     table {
  87.     font-family: arial, sans-serif;
  88.     border-collapse: collapse;
  89.     width: 100%;
  90. }
  91.  
  92. td, th {
  93.    
  94.     text-align: left;
  95.     padding: 8px;
  96. }
  97.  
  98. tr:nth-child(even) {
  99.    
  100. }
  101.     </style>
  102. </head>
  103.  
  104. <body>
  105.     <div id="background">
  106.         <p id="bg-text">Moon Telecom</p>
  107.         <p id="bg-text-one">Fulhata Bazar জাহাঙ্গীর সুপার মার্কেট, ব্রীজ রোড, ফুলহাতা বাজার, মোডেলগঞ্জ। 01717-051200(সুকান্ত বসু) 01828-163858(দোকান)</p>
  108.     </div>
  109.    
  110.     <div id="content" class="border_sx">
  111.         <div class="invoice_intro">
  112.             <div class="site_title" style="text-align:center; margin:0 auto">
  113.                 <h1 style="font-size:10px;line-height:12px">ওঁ</h1>
  114.                 <p style="font-size:8px;line-height:10px">মা কালী সহায়</p>
  115.                 <h2 style="font-size:19px;line-height:13px;">মুন টেলিকম</h2>
  116.        
  117.                 <div class="invoice_info_one" style="width:70%;margin:0 auto; text-align:center">
  118.                     <p style=";">সকল প্রকার মোবাইল সেট, সীম কার্ড, মেমোরী কার্ড, MP-3, সোলার চার্জার, সোলার ফ্যান, মোবাইল ফোনের ব্যাটারী, চার্জার,
  119.                         ক্যাচিং,কাভার,হেডফোন, রেবন, ডিসপ্লে এবং ইলেট্রিক মালামাল বিক্রেতা</p>
  120.                 </div>
  121.                 <div class="invoice_location">
  122.                     <p>জাহাঙ্গীর সুপার মার্কেট, ব্রীজ রোড, ফুলহাতা বাজার, মোডেলগঞ্জ।</p>
  123.                 </div>
  124.                 <div class="invoice_contact">
  125.                     <p>01717-051200(সুকান্ত বসু) 01828-163858(দোকান)
  126.                         <b>Email:</b> [email protected]</p>
  127.                 </div>
  128.        
  129.        
  130.        
  131.                 <hr>
  132.             </div>
  133.         </div>
  134.        
  135.        
  136.         <div class="customer_part" style="width:40%;margin:0px left;display:block">
  137.            
  138.             <div class="customer_info">
  139.                 {% if customers.customer_name %}
  140.                 <p style="font-size:">Customer Name:
  141.                     <b> {{customers.customer_name}}</b>
  142.                    
  143.                 </p>
  144.                 {% else %}
  145.                 <p> Name: দেওয়া হয়নি</p> {% endif %}
  146.        
  147.                 <p style="font-size:x">Phone Number: {% if customers.customer_mobile_no %} {{customers.customer_mobile_no}} {% else %} No Mobile Number
  148.                     {% endif%}
  149.                 </p>
  150.                 <p style="font-size:">Purchase Time: {{customers.customer_sell_date}}</p>
  151.                 <p style="font-size:">invoice id:
  152.                     <b>{{customers.customer_uid}}</b>
  153.                 </p>
  154.                 <p>{{customers.product_warrenty}}</p>
  155.             </div>
  156.         </div>
  157.        
  158.        
  159.        
  160.        
  161.        
  162.         <div class="">
  163.             <table style="border-style: solid;border-width: 0px;">
  164.        
  165.                 <tr>
  166.                     <th>Product Name</th>
  167.                     <th colspan="">Price</th>
  168.                     <th>Product Price (MRP)</th>
  169.                     <th>ID or IME</th>
  170.                     <th>Warrenty</th>
  171.                     <th>QN</th>
  172.        
  173.                 </tr>
  174.        
  175.        
  176.                 <tr>
  177.                     <td>
  178.                         <b>{{customers.customer_product_name}}</b>
  179.                     </td>
  180.                     <td>
  181.                         <b>Customer Price: {{customers.customer_price}}</b> TK
  182.                         <i>{% if customers.customer_discount_taka %}
  183.                         ( Discount added {{customers.customer_discount_taka}} TK )
  184.                         {% else%}
  185.                         {%endif%}</i>
  186.                     </td>
  187.                     <td>{{customers.customer_product_mrp}} Taka * {{customers.customer_product_quantity}} (QN) </td>
  188.                     <td>{{customers.customer_product_id}}</td>
  189.        
  190.        
  191.                     <td>
  192.                         {% if customers.customer_product_warrenty %} {{customers.customer_product_warrenty}} Months {% else %} No {% endif %}
  193.                     </td>
  194.                     <td>{{customers.customer_product_quantity}}</td>
  195.                 </tr>
  196.        
  197.        
  198.                 <th>
  199.                     First Time Payment
  200.                 </th>
  201.        
  202.                 <th>
  203.        
  204.                     {{customers.customer_first_time_payment}} TK
  205.                     <span style="color:red">{{customers.customer_first_due_info}}</span>
  206.                 </th>
  207.        
  208.                 <td>
  209.                     {{customers.customer_sell_date}}
  210.                 </td>
  211.        
  212.        
  213.                 {% if due_taka_track %}
  214.        
  215.        
  216.        
  217.                 <tr>
  218.                     <th>SL</th>
  219.                     <th>Taka</th>
  220.                     <th>Paid Date</th>
  221.                     <th>Due Info</th>
  222.        
  223.                 </tr>
  224.        
  225.                 <hr> {% for track in due_taka_track %}
  226.                 <tr>
  227.                     <td>{{forloop.counter}}</td>
  228.                     <td>
  229.                         <i>{{track.customer_due}}</i> TK</td>
  230.                     <td>{{track.customer_due_date}}</td>
  231.                     <td>{{track.customer_due_info}}</td>
  232.                 </tr>
  233.                 {% endfor %} {% else %} {% endif %} {% if sum_cost_taka %}
  234.                 <tr>
  235.        
  236.                     <td>Total Due Complete </td>
  237.        
  238.                     <th>{{sum_cost_taka}} TK</th>
  239.        
  240.                 </tr>
  241.                 {% else %} {% endif %}
  242.        
  243.        
  244.        
  245.        
  246.        
  247.                 <tr>
  248.                     <td>
  249.                         <b>Total Paid</b>
  250.                     </td>
  251.        
  252.                     <th>
  253.        
  254.        
  255.                         {% if payment_message %}
  256.                         {{customers.customer_due_taka_info}} TK
  257.        
  258.                         <span style="color:red">{{payment_message}}</span>
  259.                         <br>
  260.                        
  261.        
  262.        
  263.                         <button type="button" class="btn btn-danger">{{remain_msg}} {{remain_taka}}TK</button>
  264.                         {%else %} {{customers.customer_due_taka_info}} TK
  265.                         <button type="button" class="btn btn-success">Payment Completed</button>
  266.                        
  267.                         {% endif %}
  268.                     </th>
  269.                 </tr>
  270.             </table>
  271.             <table border="none!important" style="margin-top:10px;border:none!important">
  272.                 <tr>
  273.                     <th style="text-align:left">Customer signature</th>
  274.                     <th  style="text-align:right">Authorized signature</th>
  275.                 </tr>
  276.             </table>
  277.         </div>
  278.        
  279.        
  280.         <div class="customer_notifications">
  281.             <div class="container">
  282.                 <div class="row">
  283.                     <div class="col-lg-12">
  284.  
  285.        
  286.                         {% if customers.customer_conditions %}
  287.                         <div class="warning">
  288.                             <p>
  289.                                 <i>{{customers.customer_product_name}} {{customers.customer_conditions}}</i>
  290.                             </p>
  291.                         </div>
  292.        
  293.                         {% else %} {% endif %}
  294.  
  295.                         <div class="col-lg-12">
  296.                             <div class="footer_info">
  297.                                 <p id="fix_font"><b>বিঃদ্রঃ ডেলিভারির সময় মাল বুঝিয়া নিবেন। পরে কোন আপত্তী গ্রহনযোগ্য নয়। (বিক্রিত মাল ফেরত হয় না) </h6>
  298.                                 <p>Print date: {{time_now}}</b></p>
  299.                             </div>
  300.                        
  301.                         </div>
  302.                     </div>
  303.                 </div>
  304.             </div>
  305.         </div>
  306.        
  307.        
  308.        
  309.        
  310.        
  311.        
  312.        
  313.        
  314.         <div class="footer" style="display:block">
  315.             <div class="footer_info">
  316.                 <div class="container">
  317.                     <div class="row">
  318.                         <div class="col-lg-12">
  319.                             <div class="footer_info">
  320.                                 <div class="copy_right">
  321.                                     {% if site_credit %}
  322.                                     <p>{{site_credit}}</p>
  323.                                     {% else %} {% endif %}
  324.                                
  325.                                 </div>
  326.                                
  327.                             </div>
  328.                            
  329.                         </div>
  330.                     </div>
  331.                 </div>
  332.             </div>
  333.         </div>
  334.     </div>
  335.  
  336.  
  337. </body>
  338.  
  339. </html>
Advertisement
Add Comment
Please, Sign In to add comment