@extends('backend.layouts.master') @section('section-title', 'Stock Adjust') @section('page-title', 'Adjust Stock List') @if (check_permission('stock-adjust.create')) @section('action-button') Add Stock Adjust @endsection @endif @push('css') @endpush @section('content')
| SL# | Date | Adjust No | Product Item(s) | Stock Status | Create By | Action | |||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $key + 1 }} | {{ $data->date }} | {{ $data->adjust_no }} |
@foreach ($adjust_items as $item)
@php
$product = App\Models\Product::where(
'id',
$item->product_id,
)->first();
// dd($product);
if ($product->unit->related_unit == null) {
$qty = $item->main_qty;
} else {
$qty = 0;
}
@endphp
|
@if ($data->stock_status == 0) Stock Out @elseif($data->stock_status == 1) Stock In @endif | {{ $data->user?->name }} |
|
|||||
| Data Not Found | |||||||||||