<div>
                      <div class="row" style="border:2px solid black; height: 33px; margin-left:-2px; width: 1000px; background-color:	#F0F0F0;">
                        <table>
                          <tbody>
                            <tr>
                              <td>
                                <p style="padding-left:450px; font-size:1.50rem;"><b>
								@if(Str::contains(Route::current()->getName(),'quotation'))
									Quatation
									@elseif(Str::contains(Route::current()->getName(),'pi'))
									  Pro-Forma Invoice
									@elseif(Str::contains(Route::current()->getName(),'invoice'))
									 Tax Invoice
									 @endif
								</b></p>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                      <div class="row" style="margin-left:0px;">
                        <div class="col-md-8" style="border-right:2px solid black; height:195px; border-bottom:2px solid black;">
                          <div class="row" style="border-bottom: 2px solid black;">
                            <table >
                              <tbody>
                                <tr>
                                  <td><b>To: {{ $company_details->name }}</b></td>
                                  <td style="width:50%;"><b>Company Code: {{ $company_details->company_code }}</b></td>
                                </tr>
                              </tbody>
                            </table>
                          </div>
                          <div class="row">
                            <div class="col-md-6" style="border-right: 2px solid black; width:50%; height:170px ; margin-left:-13px;">
                              <table>
                                <thead>
                                <tr>
                                  <th>Billing Address</th>
                                </tr>
                              </thead>
                              <tbody>
                                <tr>
                                  <td>{{ $company_details->name }}</td>
                                </tr>
                                <tr>
                                  <td>{{$billing_details->address_line1}},{{$billing_details->address_line2}},@if(($billing_details->address_line3)!='null'){{$billing_details->address_line3}}@elseif(($billing_details->address_line3)=='null')@endif</td>
                                </tr>
                                <tr>
                                  <td>{{$billing_details->name}},{{$billing_details->state_title}}-{{$billing_details->pincode}}</td>
                                </tr>
                                <tr>
                                  <td><b>GSTIN: {{ $company_details->gstin }}</b></td>
                                </tr>
                              </tbody>
                            </table>
                          </div>
                          <div class="col-md-6" style="width:50%;">
                            <table>
                              <thead>
                                <tr>
                                  <th>Shipping Address</th>
                                </tr>
                              </thead>
                            <tbody>
                              <tr>
                                <td>{{ $shipping_details->person_name }}</td>
                              </tr>
                              <tr>
                                <td>{{ $shipping_details->ship_company_name }}</td>
                              </tr>
                              <tr>
                                <td>{{$shipping_details->address_line1}},{{$shipping_details->address_line2}},@if(($shipping_details->address_line3)!='null'){{$shipping_details->address_line3}}@elseif(($shipping_details->address_line3)=='null')@endif</td>
                              </tr>
                              <tr>
                                <td>{{$shipping_details->name}},{{$shipping_details->state_title}}-{{$shipping_details->pincode}}</td>
                              </tr>
                              <tr>
                                <td>mobile no:{{$shipping_details->mobile}}</td>
                              </tr>
                            </tbody>
                          </table>
                        </div>
                      </div>
                    </div>
 
                    <div class="col-md-4" style="width: 322px; height: 195px; border-bottom:2px solid black;">
                      <div class="row">
                        <table style="width: 322px; height: 50px; border-bottom: 2px solid black;">
                          <tbody>
                            <tr>
							
							@if(Str::contains(Route::current()->getName(),'quotation'))
								<td><b>Quatation No: {{ $data->quotation_no }}</b></td>
							@elseif(Str::contains(Route::current()->getName(),'pi'))
							  <td><b>PI NO: {{ $data->pi_no }}</b></td> 
							 @elseif(Str::contains(Route::current()->getName(),'invoice'))
                              <td><b>Invoice NO: {{ $data->invoice_no }}</b></td>
							 @endif
								</tr>
                            <tr>
								<?php $strip; 
								if(Str::contains(Route::current()->getName(),'invoice')){
									$createDate = new DateTime($data->created_at);
								$strip = $createDate->format('d-m-Y');}
								else{
									$createDate = new DateTime($data->issue_date);
								$strip = $createDate->format('d-m-Y');}
							    ?>
								
                              <td><b>Date: {{ $strip }}</b></td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
					  @if(Str::contains(Route::current()->getName(),'invoice'))
					   <div class="row">
                            <table>
                                <tbody>
                                    <tr>
                                        <td colspan="2"><b>PO Number: {{ $pi_info->po_number }}</b></td>
                                    </tr>
                                    <tr>
                                        <td colspan="2"><b>Payment Term: {{ $pi_info->paymnet_term }}</b></td>
                                    </tr>
                                    @if(($data->tracking_id)!='null')
                                    <tr>
                                        <td colspan="2"><b>Courier:@if(($data->courier_name)!='null'){{$data->courier_name}}@endif</b></td>
                                    </tr>
                                    <tr>
                                        <td><b>Tracking Id:</b>@if(($data->tracking_id)!='null'){{$data->tracking_id}}@endif</td>
                                        <td><b style="padding-left: 100px;">Date:</b>@if(($data->shipping_date)!='null'){{$data->shipping_date}}@endif</td>
                                    </tr>
                                    @endif
                                    <tr>
                                        <td colspan="2"><b>Sales Person:</b>{{$data->generated_by_user()->name}}</td>
                                    </tr>
                                    
                                </tbody>
                            </table>
                        </div>
						@endif
                    </div>
                  </div>
                </div>