
<div class="modal fade" id="invoice_product" tabindex="-1" role="dialog" data-keyboard="false" data-backdrop="static">
    
    <div class="modal-dialog" id="vrajesh">
        
        <div class="modal-content">
            
            <div class="modal-header">
                
                <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                    
                <span aria-hidden="true">&times;</span></button>

                <h4 class="modal-title">Product</h4>

            </div>

            <div class="modal-body">

                <div class="modal-split" name="page-1">
                
                    <section class="content">
                    
                        {!! Form::open(array('id'=>'quotation_product','action'=>'{{route("product-store")}}','route'=>'product-store','method'=>'POST')) !!}
                
					    @csrf

				        <div class="row">

				            <div class="col-md-6 ">

				                <div class="form-group">

                                    <label class="control-label" for="inputSuccess"> Quotation No</label>

                                    <input type="text" class="form-control" id="quotationno" readonly>

                                    <span class="help-block hide" >Help block with success</span>

                                </div>

				            </div>


                            <div class="col-md-6 ">

				                <div class="form-group">

                                    <label class="control-label" for="inputSuccess">Comapny name</label>

                                    <input type="text" class="form-control" id="product_company" readonly >

                                    <span class="help-block hide" >Help block with success</span>

                                </div>

				            </div>
				   
                        </div>

                        <div>

                            <table border="1" width="740px">

                                <thead>
                                    
                                    <tr>

                                        <th>Item</th>

                                        <th>Description</th>

                                        <th>Unit cost</th>

                                        <th>Quantity</th>

                                        <th id="cs_gst">CGST + SGST</th>

                                        <th id="igst">IGST</th>

                                        <th>GST AMOUNT</th>

                                        <th>Total</th>

                                        <th>Add</th>

                                    </tr>

                                </thead>

                                <tbody>

                                    <tr>

                                        <td>
                                            <select class="form-control Product_select textcss" id="Product_select" style="width: 100%;">
                            
                                                <option value='0' >- Search Product -</option>

                                            </select>
                                        
                                        </td>

                                        <td><input type="text" placeholder="Description" id="product_description" class="textcss"></td>

                                        <td><input type="text" class="textcss product_price" name="unitcost" id="product_price" value="0" data-value="" data-name=""></td>

                                        <td><input type="number" class="textcss" name="quantity" id="product_quantity" value="0"></td>

                                        <td id="selectcs">
                                            <select class="textcss" id="c_s_gsttype">
                                                <option disabled selected value> -- Select GST VALUE -- </option>
                                                <option>0% + 0%</option>
                                                <option>2.5% + 2.5%</option>
                                                <option>6% + 6%</option>
                                                <option>9% + 9%</option>
                                                <option>14% + 14%</option>
                                            </select>
                                        </td>

                                        <td id="selecti">
                                            <select class="textcss" id="i_gsttype">
                                                <option disabled selected value> -- Select GST TYPE -- </option>
                                                <option>0%</option>
                                                <option>5%</option>
                                                <option>12%</option>
                                                <option>18%</option>
                                                <option>28%</option>
                                            </select>
                                        </td>

                                        <td><input type="text" class="textcss form-control" id="testing" value="00.00" readonly></td>
                                        <td><input type="text" class="textcss form-control" id="product_total" value="00.00" readonly></td>
                                                <input type="hidden" id="testing" class="">
                                        <td><a id="addrows"><i class="fa fa-plus orange"></i></a></td>

                                    </tr>

                                </tbody>

                            </table>

                        </div>

                        <div style="padding: 20px 0px 0px 0px;" id="qwe">

                        <table name="test" border="1" width="740px">

                                <thead>
                                    
                                    <tr>

                                        <th>Item</th>

                                        <th>Description</th>

                                        <th>Unit cost</th>

                                        <th>Quantity</th>

                                        <th id="finalthcs">CGST + SGST</th>

                                        <th id="finalthi">IGST</th>

                                        <th>GST AMOUNT</th>

                                        <th>Total</th>                                        

                                    </tr>

                                </thead>

                                <tbody id="maintable" id="test12">

                                </tbody>

                                <tfoot>
 
                                   <tr>

                                       <td colspan="4"></td>

                                       <td></td>

                                        <td><h4>Sub Total</h4></td>

                                        <td colspan="2"><input type="text" class="listcsstotal form-control subtot" readonly></td>

                                    </tr>
                                    
                                    <tr>

                                        <td><h4 id="gstbl1"></h4></td>

                                        <td><input type="text" id="gstblin1" value="00.00" readonly></td>
          
                                        <td><h4 id="gstbl3"></h4></td>

                                        <td><input type="text" id="gstblin3" value="00.00" readonly></td>

                                        <td></td>
                                        
                                        <td><h4>GST Total</h4></td>

                                        <td colspan="2"><input type="text" class="listcsstotal form-control taxtot" readonly></td>

                                    </tr>

                                    <tr>

                                        <td><h4 id="gstbl2"></h4></td>

                                        <td><input type="text" id="gstblin2" value="00.00" readonly></td>
          
                                        <td><h4 id="gstbl4"></h4></td>

                                        <td><input type="text" id="gstblin4" value="00.00" readonly></td>

                                        <td></td>
                                        
                                        <td><h4>Grand Total</h4></td>

                                        <td colspan="2"><input type="text" class="listcsstotal form-control grdtot" readonly></td>

                                    </tr>

                                </tfoot>

                            </table>

                        </div>
                   
                    </section>

			

                        <div class="modal-footer">

                            <!-- <button type="button" class="btn btn-primary pull-left" data-dismiss="modal">Close</button> -->

                            <button type="button" class="btn btn-success testing pull-right">Submit</button>

                        </div>
                        
                </div>

            </div>

        </div>
    
    </div>

</div>