@extends('companyuser::layouts.master') @section('title', __('Show') . ' ' . ucfirst(__($product->type))) @section('breadcrumb')
@endsection @section('content')| @lang('products::product.warehouse') | @lang('products::product.openingBalance') | @lang('products::product.selling_price') | @lang('products::product.buying_price') | @lang('products::product.minimum_quantity') | @lang('products::product.inventory_account') |
|---|---|---|---|---|---|
| {{ $warehouse_assignment->warehouse->short_title }} | {{ $warehouse_assignment->quantity }} | {{ $warehouse_assignment->selling_price }} | {{ $warehouse_assignment->buying_price }} | {{ $warehouse_assignment->minimum_quantity }} | {{ $warehouse_assignment->inventory_account->name ?? $warehouse_assignment->inventory_account_id }} |
| @lang('products::product.product') | @lang('sales::estimates.description') | @lang('products::product.Unit') | @lang('sales::estimates.qty') | @lang('products::product.cost') |
|---|---|---|---|---|
| {{ $productRecipe->product_name }} | {{ $productRecipe->description }} | {{ $productRecipe->unit }} | {{ $productRecipe->quantity }} | {{ $productRecipe->cost }} |
| @lang('products::product.Date') | @lang('products::product.Id') | @lang('products::product.Type') | @lang('products::product.QTY') | @lang('products::product.price') | @lang('products::product.Discount') | @lang('products::product.Total') |
|---|---|---|---|---|---|---|
| {{ $transaction['date'] }} | {{ $transaction['code'] }} | {{ $transaction['type'] }} | {{ $transaction['qty'] }} | {{ $transaction['price'] }} | {{ $transaction['discount'] }} | {{ $transaction['total'] }} |
| @lang('products::product.Date') | @lang('products::product.username') | @lang('products::product.Action') | @lang('products::product.Details') |
|---|---|---|---|
| {{ $row->formatDateTime($row->created_at) }} | {{ $row->user->uname ?? '-' }} |
@if ($isWarehouseProduct)
{{ __('products::product.warehouse_stock_update') }}
@if ($warehouseName)
{{ $warehouseName }} @endif @else {{ trans($row->event) }} @endif |
@if ($row->event != 'created')
@foreach ($row->new_values as $key => $change)
@if (in_array($key, ['updated_at', 'created_at', 'product_id', 'warehouse_id', 'cost_center_id']))
@continue
@endif
@if ($key == 'category_id')
{{ __('products::product.Category') . ' ' . __('products::product.changed to') . ' ' . $categories[$change]['name_' . App::getLocale()] }}
@elseif($key == 'unit_id') {{ __('products::product.Unit') . ' ' . __('products::product.changed to') . ' ' . $units[$change]['name_' . App::getLocale()] }} @elseif($key == 'tax_id') @if ($change) {{ __('products::product.Taxes') . ' ' . __('products::product.changed to') . ' ' . $taxes[$change]['name_' . App::getLocale()] }} @else {{ __('products::product.tax_removed') }} @endif @elseif($key == 'allow_notification') @if ($change) {{ __('products::product.notification_activated') }} @else {{ __('products::product.notification_deactivated') }} @endif @elseif($key == 'inventory_account_id' || $key == 'purchasing_account_id' || $key == 'selling_account_id') {{ __('products::product.' . $key) . ' ' . __('products::product.changed to') . ' ' }} @if ($change) {{ $change }} @endif @elseif($key == 'custom_fields') @if ($change) |