@extends('layouts.master') @section('css') @endsection @section('title') Stock Transfer @endsection @section('content')
@isset($inventoryVoucher)
@method('put') @else @endisset @csrf
@isset($inventoryVoucher) Edit Stock Transfer @else Add Stock Transfer @endisset
@isset($inventoryVoucher) @endisset
@isset($inventoryVoucher) @if (str_contains($inventoryVoucher->voucher_number, '-')) {{ explode('-', $inventoryVoucher->voucher_number)[0] }} @else @endif @else @if ($voucherType->prefix != null) {{ $voucherType->prefix }} @else @endif @endisset
Stock Transfer
@if (Auth::user()->company_profile->enable_batch == 1) @endif @isset($inventoryVoucherItems) @php $tabIndex = 0; @endphp @if (count($inventoryVoucherItems) > 0) @foreach ($inventoryVoucherItems as $key => $inventoryVoucherItem) @php $key = $key + 1; @endphp @if (Auth::user()->company_profile->enable_batch == 1) @endif @php $tabIndex = $tabIndex + 4; @endphp @endforeach @endif @endisset @if (Auth::user()->company_profile->enable_batch == 1) @endif
Item StockBatchQty Unit Price Total
--
{{ isset($inventoryVoucherItems) ? number_format($inventoryVoucherItems->sum('total'), 2) : '0.00' }}
@endsection @section('script') @endsection