@include('print.common.css')
{{ $invoiceData['name'] }}
@include('print.common.header')
# {{ $adjustment->adjustment_code }}
{{ __('app.date') }}: {{ $adjustment->formatted_adjustment_date }}
{{ __('app.time') }}: {{ $adjustment->format_created_time }}
@if($adjustment->reference_no) {{ __('app.reference_no') }}: {{ $adjustment->reference_no }}
@endif
@php $isHasBatchItem = ($adjustment->itemTransaction->where('tracking_type', 'batch')->count() > 0) ? true : false; //Return from Controller $totalBatchTrackingRowCount = ($isHasBatchItem) ? $batchTrackingRowCount : 0; @endphp @if(app('company')['show_hsn']) @endif @if($isHasBatchItem) @if(app('company')['enable_batch_tracking']) @endif @if(app('company')['enable_mfg_date']) @endif @if(app('company')['enable_exp_date']) @endif @if(app('company')['enable_model']) @endif @if(app('company')['enable_color']) @endif @if(app('company')['enable_size']) @endif @endif @php $i=1; @endphp @foreach($adjustment->itemTransaction as $transaction) @if(app('company')['show_hsn']) @endif @if($isHasBatchItem) @if(app('company')['enable_batch_tracking']) @endif @if(app('company')['enable_mfg_date']) @endif @if(app('company')['enable_exp_date']) @endif @if(app('company')['enable_model']) @endif @if(app('company')['enable_color']) @endif @if(app('company')['enable_size']) @endif @endif @endforeach @php $noteColumns = 5+ $totalBatchTrackingRowCount + app('company')['show_hsn']; @endphp
# {{ __('item.item') }}{{ __('item.hsn') }}{{ __('item.batch_no') }}{{ __('item.mfg_date') }}{{ __('item.exp_date') }}{{ __('item.model_no') }}{{ __('item.color') }}{{ __('item.size') }}{{ __('app.qty') }} {{ __('unit.unit') }} {{ __('warehouse.adjustment_type') }}
{{ $i++ }} {{ $transaction->item->name }} {{ $transaction->description }} {{-- Show Brand Name --}} @include('print.common.brand-details', ['model' => $transaction]) @if ($transaction->itemSerialTransaction->count() > 0)
{{ $transaction->itemSerialTransaction->pluck('itemSerialMaster.serial_code')->implode(',') }}
@endif
{{ $transaction->item->hsn }} {{ $transaction->batch ? $transaction->batch->itemBatchMaster->batch_no : '' }} {{ $transaction->batch ? $formatDate->toUserDateFormat($transaction->batch->itemBatchMaster->mfg_date) : '' }} {{ $transaction->batch ? $formatDate->toUserDateFormat($transaction->batch->itemBatchMaster->exp_date) : '' }} {{ $transaction->batch ? $transaction->batch->itemBatchMaster->model_no : ''}} {{ $transaction->batch ? $transaction->batch->itemBatchMaster->color :'' }} {{ $transaction->batch ? $transaction->batch->itemBatchMaster->size : '' }} {{ $formatNumber->formatQuantity($transaction->quantity) }} {{ $transaction->unit->name }} {{ $transaction->adjustment_type == 'increase' ? __('app.increase') : __('app.decrease') }}
{{ __('app.total') }} {{ $formatNumber->formatWithPrecision($adjustment->itemTransaction->sum('quantity')) }}
{{ __('app.note') }}:
{{ $adjustment->note }}