[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: stock_history_details.blade.php
@php $common_settings = session()->get('business.common_settings'); @endphp <div class="row"> <div class="col-md-12"> <h4>{{$stock_details['variation']}}</h4> </div> <div class="col-md-4 col-xs-4"> <strong>@lang('lang_v1.quantities_in')</strong> <table class="table table-condensed"> <tr> <th>@lang('report.total_purchase')</th> <td> <span class="display_currency" data-is_quantity="true">{{$stock_details['total_purchase']}}</span> {{$stock_details['unit']}} </td> </tr> <tr> <th>@lang('lang_v1.opening_stock')</th> <td> <span class="display_currency" data-is_quantity="true">{{$stock_details['total_opening_stock']}}</span> {{$stock_details['unit']}} </td> </tr> <tr> <th>@lang('lang_v1.total_sell_return')</th> <td> <span class="display_currency" data-is_quantity="true">{{$stock_details['total_sell_return']}}</span> {{$stock_details['unit']}} </td> </tr> <tr> <th>@lang('lang_v1.stock_transfers') (@lang('lang_v1.in'))</th> <td> <span class="display_currency" data-is_quantity="true">{{$stock_details['total_purchase_transfer']}}</span> {{$stock_details['unit']}} </td> </tr> </table> </div> <div class="col-md-4 col-xs-4"> <strong>@lang('lang_v1.quantities_out')</strong> <table class="table table-condensed"> <tr> <th>@lang('lang_v1.total_sold')</th> <td> <span class="display_currency" data-is_quantity="true">{{$stock_details['total_sold']}}</span> {{$stock_details['unit']}} </td> </tr> <tr> <th>@lang('report.total_stock_adjustment')</th> <td> <span class="display_currency" data-is_quantity="true">{{$stock_details['total_adjusted']}}</span> {{$stock_details['unit']}} </td> </tr> <tr> <th>@lang('lang_v1.total_purchase_return')</th> <td> <span class="display_currency" data-is_quantity="true">{{$stock_details['total_purchase_return']}}</span> {{$stock_details['unit']}} </td> </tr> <tr> <th>@lang('lang_v1.stock_transfers') (@lang('lang_v1.out'))</th> <td> <span class="display_currency" data-is_quantity="true">{{$stock_details['total_sell_transfer']}}</span> {{$stock_details['unit']}} </td> </tr> </table> </div> <div class="col-md-4 col-xs-4"> <strong>@lang('lang_v1.totals')</strong> <table class="table table-condensed"> <tr> <th>@lang('report.current_stock')</th> <td> <span class="display_currency" data-is_quantity="true">{{$stock_details['current_stock']}}</span> {{$stock_details['unit']}} </td> </tr> </table> </div> </div> <div class="row"> <div class="col-md-12"> <hr> <table class="table table-slim" id="stock_history_table"> <thead> <tr> <th>@lang('lang_v1.type')</th> <th>@lang('lang_v1.quantity_change')</th> @if(!empty($common_settings['enable_secondary_unit'])) <th>@lang('lang_v1.quantity_change') (@lang('lang_v1.secondary_unit'))</th> @endif <th>@lang('lang_v1.new_quantity')</th> @if(!empty($common_settings['enable_secondary_unit'])) <th>@lang('lang_v1.new_quantity') (@lang('lang_v1.secondary_unit'))</th> @endif <th>@lang('lang_v1.date')</th> <th>@lang('purchase.ref_no')</th> <th>@lang('lang_v1.customer_supplier_info')</th> </tr> </thead> <tbody> @forelse($stock_history as $history) <tr> <td>{{$history['type_label']}}</td> @if($history['quantity_change'] > 0 ) <td class="text-success"> +<span class="display_currency" data-is_quantity="true">{{$history['quantity_change']}}</span> </td> @else <td class="text-danger"><span class="display_currency text-danger" data-is_quantity="true">{{$history['quantity_change']}}</span> </td> @endif @if(!empty($common_settings['enable_secondary_unit'])) @if($history['quantity_change'] > 0 ) <td class="text-success"> @if(!empty($history['purchase_secondary_unit_quantity'])) +<span class="display_currency" data-is_quantity="true">{{$history['purchase_secondary_unit_quantity']}}</span> {{$stock_details['second_unit']}} @endif </td> @else <td class="text-danger"> @if(!empty($history['sell_secondary_unit_quantity'])) -<span class="display_currency" data-is_quantity="true">{{$history['sell_secondary_unit_quantity']}}</span> {{$stock_details['second_unit']}} @endif </td> @endif @endif <td> <span class="display_currency" data-is_quantity="true">{{$history['stock']}}</span> </td> @if(!empty($common_settings['enable_secondary_unit'])) <td> @if(!empty($stock_details['second_unit'])) <span class="display_currency" data-is_quantity="true">{{$history['stock_in_second_unit']}}</span> {{$stock_details['second_unit']}} @endif </td> @endif <td>{{@format_datetime($history['date'])}}</td> <td> {{$history['ref_no']}} @if(!empty($history['additional_notes'])) @if(!empty($history['ref_no'])) <br> @endif {{$history['additional_notes']}} @endif </td> <td> {{$history['contact_name'] ?? '--'}} @if(!empty($history['supplier_business_name'])) - {{$history['supplier_business_name']}} @endif </td> </tr> @empty <tr><td colspan="5" class="text-center"> @lang('lang_v1.no_stock_history_found') </td></tr> @endforelse </tbody> </table> </div> </div>
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: premium320.web-hosting.com
Server IP: 66.29.153.54
PHP Version: 8.2.29
Server Software: LiteSpeed
System: Linux premium320.web-hosting.com 4.18.0-553.50.1.lve.el8.x86_64 #1 SMP Thu Apr 17 19:10:24 UTC 2025 x86_64
HDD Total: 97.87 GB
HDD Free: 76.86 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
Yes
pkexec:
No
git:
Yes
User Info
Username: aoneqssk
User ID (UID): 1285
Group ID (GID): 1290
Script Owner UID: 1285
Current Dir Owner: 1285