@extends('layouts.master') @section('title', 'Debtors | Proxima - Medical Management app') @section('title-topbar', 'Debtors') @section('css') @endsection @section('fixedcontent')
@if (Session::has('success'))

Sent Successfully

{{ Session::get('success') }}

@endif @endsection @section('content')
Dashboard | Inventory | Item Show @role('Super-admin|Hr') @endrole
Item Show

{{ $inventory_item->service_inv_cat->name }}

{{ $inventory_item->name }}

Code {{ $inventory_item->code }}

Place

{{ $inventory_item->place }}

Low quantity notify

{{ $inventory_item->quantity_notify }}

Quantity

{{ $inventory_item->current_quantity }}


    @foreach ($inventory_item->records as $item) @if ($item->type == 0) @php $type_text = 'Add'; $text_color = 'done-color'; @endphp @elseif ($item->type == 1) @php $type_text = 'Withdraw'; $text_color = 'cancel-color'; @endphp @endif
  • {{ date('d M Y', strtotime($item->buying_date)) }}

    {{ $type_text }}

    Responsible

    {{ $item->responsible->name }}

    Quantity

    {{ $item->quantity }}

    Price

    {{ $item->price }}

    Expiration Date

    {{ $item->expiration_date }}
  • @endforeach
  • {{ date('d M Y', strtotime($inventory_item->created_at)) }}

    Created Item
@endsection @section('js') @endsection