Spamworldpro Mini Shell
Spamworldpro


Server : Apache/2.4.62 (Unix) OpenSSL/1.0.2k-fips
System : Linux server1.richineiserver.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User : fdshops ( 1003)
PHP Version : 8.2.21
Disable Function : NONE
Directory :  /home/fdshops/public_html/resources/views/contact/partials/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/fdshops/public_html/resources/views/contact/partials/ledger_purchase_lines_details.blade.php
<table class="table table-slim mb-0 bg-light-gray" @if(!empty($for_pdf)) style="width: 100%;" @endif>
        <tr>
        <th>#</th>
        <th>@lang('sale.product')</th>
        <th>{{ __('sale.qty') }}</th>
        <th>{{ __('sale.unit_price') }}</th>
        <th>@lang( 'lang_v1.discount_percent' )</th>
        <th>@lang('sale.tax')</th>
        <th>{{ __('sale.price_inc_tax') }}</th>
        <th>@lang('sale.subtotal')</th>
        </tr>
  @foreach($purchase->purchase_lines as $purchase_line)
    <tr>
      <td>{{ $loop->iteration }}</td>
      <td>
        {{ $purchase_line->product->name }}
         @if( $purchase_line->product->type == 'variable')
          - {{ $purchase_line->variations->product_variation->name}}
          - {{ $purchase_line->variations->name}}
         @endif
         - {{ $purchase_line->variations->sub_sku ?? ''}}
      </td>
          
      <td>{{@format_quantity($purchase_line->quantity)}} @if(!empty($purchase_line->sub_unit)) {{$purchase_line->sub_unit->short_name}} @else {{$purchase_line->product->unit->short_name}} @endif
      </td>
      <td >@format_currency($purchase_line->pp_without_discount)</td>
      <td >{{@num_format($purchase_line->discount_percent)}} %</td>
      <td >@format_currency($purchase_line->item_tax)</td>
      <td >@format_currency($purchase_line->purchase_price_inc_tax)</span></td>
      <td >@format_currency($purchase_line->purchase_price_inc_tax * $purchase_line->quantity)</td>
    </tr>
  @endforeach
</table>

Spamworldpro Mini