![]() 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/product/partials/ |
<div class="row"> <div class="col-md-12"> <div class="table-responsive"> <table class="table table-condensed bg-gray"> <thead> <tr class="bg-green"> <th>SKU</th> <th>@lang('business.product')</th> <th>@lang('business.location')</th> <th>@lang('sale.unit_price')</th> <th>@lang('report.current_stock')</th> <th>@lang('lang_v1.total_stock_price')</th> <th>@lang('report.total_unit_sold')</th> <th>@lang('lang_v1.total_unit_transfered')</th> <th>@lang('lang_v1.total_unit_adjusted')</th> </tr> </thead> <tbody> @foreach($product_stock_details as $product) <tr> <td>{{$product->sku}}</td> <td> @php $name = $product->product; if ($product->type == 'variable') { $name .= ' - ' . $product->product_variation . '-' . $product->variation_name; } @endphp {{$name}} </td> <td>{{$product->location_name}}</td> <td> <span class="display_currency"data-currency_symbol=true >{{$product->unit_price ?? 0}}</span> </td> <td> <span data-is_quantity="true" class="display_currency"data-currency_symbol=false >{{$product->stock ?? 0}}</span>{{$product->unit}} </td> <td> <span class="display_currency"data-currency_symbol=true >{{$product->unit_price * $product->stock}}</span> </td> <td> <span data-is_quantity="true" class="display_currency"data-currency_symbol=false >{{$product->total_sold ?? 0}}</span>{{$product->unit}} </td> <td> <span data-is_quantity="true" class="display_currency"data-currency_symbol=false >{{$product->total_transfered ?? 0}}</span>{{$product->unit}} </td> <td> <span data-is_quantity="true" class="display_currency"data-currency_symbol=false >{{$product->total_adjusted ?? 0}}</span>{{$product->unit}} </td> </tr> @endforeach </tbody> </table> </div> </div> </div>