@extends('layouts.main') @push('styles') @endpush @section('content')
| # | --}}{{ __('labs.name') }} | {{--{{ __('labs.cost') }} | --}} {{--{{ __('labs.insurance_status') }} | --}} {{--{{ __('labs.non_insured_price') }} | --}} {{--{{ __('labs.insured_price') }} | --}}{{ __('labs.lab_stock') }} | {{ __('labs.store_stock') }} | {{--{{ __('labs.current_batch') }} | --}} {{--{{ __('labs.expiry_date') }} | --}}{{ __('labs.expense_account') }} | ||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| --}} | {{ $item->name }} {{-- --}} | {{ $item->total_lab_stock }} @if (get_name($item->form_id, 'id', 'name', 'lab_forms') != 'N/A') {{ get_name($item->form_id, 'id', 'name', 'lab_forms') }} @else {{ null }}@endif | {{ $item->total_store_stock }} @if (get_name($item->form_id, 'id', 'name', 'lab_forms') != 'N/A'){{ get_name($item->form_id, 'id', 'name', 'lab_forms') }}@else {{ null }}@endif | {{ get_name($item->expenses_account_id, 'id', 'name', 'chart_of_accounts') }} | {{ __('labs.edit') }} | @if(empty($item->total_stock)&& empty($item->store_stock)) {{ Form::model($item->id, ['method' => 'DELETE', 'route' => ['labs.destroy', $item->id]]) }} {{ Form::close() }} @elseif (!empty($item->total_stock) || !empty($item->store_stock)) Still Stocked @endif | ||||||
| # | --}}{{ __('labs.name') }} | {{--{{ __('labs.cost') }} | --}} {{--{{ __('labs.insurance_status') }} | --}} {{--{{ __('labs.non_insured_price') }} | {{ __('labs.insured_price') }} | --}}{{ __('labs.lab_stock') }} | {{ __('labs.store_stock') }} | {{--{{ __('labs.current_batch') }} | --}} {{--{{ __('labs.expiry_date') }} | --}}{{ __('labs.expense_account') }} |