@extends('boothagent.layout.app')
@section('title','Inventory - Index')
@push('headerscript')
@endpush
@section('content')
S.NO. |
Vidhan Sabha Name |
Category Name |
User Name |
Quantity |
Date |
creator |
Receive |
{{-- Action | --}}
@foreach($inventory as $r)
{{ $loop->iteration }}
|
@php
$udetails=App\Models\UserDetail::where('user_id',$r->id)->first();
@endphp
@php
$vidhansabha=App\Models\VidhanSabha::where('id',$r->vidhansabha_id)->value('vidhansabha');
@endphp
{{ $vidhansabha}}
|
@php
$category=App\Models\Category::where('id',$r->category_id)->value('category_name');
@endphp
{{ $category}}
|
@php
$user=App\Models\User::where('id',$r->user_id)->value('name');
@endphp
{{ $user}}
|
{{ $r->quantity}}
|
{{ date('d-m-Y', strtotime($r->date)) }}
|
@php
$name=App\Models\User::where('id',$r->creator_id)->value('name');
@endphp
{{ $name }}
|
@if($r->received == 1)
@elseif($r->received == 2)
@endif
|
{{-- Edit
Delete | --}}
@endforeach
@endsection
@push('footerscript')
@endpush