@extends('backend.layouts.master') @section('section-title', 'Stock Transfer') @section('page-title', 'Transfer List') @if (check_permission('transfer.create')) @section('action-button') Add Stock Transfer @endsection @endif @push('css') @endpush @section('content')
| SL# | Date | Transfer No | From | To | Product Item(s) | Status | Create By | Action | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $key + 1 }} | {{ $data->date }} | {{ $data->transfer_no }} | {{ $data->fromBranch?->name }} | {{ $data->toBranch?->name }} |
@foreach ($transfer_items as $item)
@php
$product = App\Models\Product::where(
'id',
$item->product_id,
)->first();
if ($product->unit->related_unit == null) {
$qty = $item->main_qty;
} else {
$qty = 0;
}
@endphp
|
@if ($data->status == 0) Pending @elseif($data->status == 1) Receive @elseif($data->status == 2) Cancel @endif | {{ $data->user?->name }} |
|
|||
| Data Not Found | |||||||||||