@extends('layouts.dashboard') @section('page_title') Manage Items @endsection @section('page_header_title') Manage Items @endsection @php($label_list = EF::getWhiteLabel()) @section('page_body') {{ Breadcrumbs::render('items') }}
@if(Auth::user()->hasAnyPermission(['All','Add Service']))    @endif

Add Service

@if(isset($service_list)) @php($pass_data = []) @foreach($service_list as $rows) @php($branch_curr = $rows->branch) @php( $pass_data = array( 'service' => Crypt::encrypt($rows->id), 'service_name' => $rows->name, 'service_code' => $rows->code, 'service_description' => $rows->description, 'service_unit' => $rows->unit, 'service_minimum' => $rows->minimum, 'service_maximum' => $rows->maximum, 'service_category' => $rows->inventoryCategory->name, 'service_unit' => $rows->inventoryUnit->name, EF::branchWhiteLabel()['module'] => $branch_curr->code.' '.$branch_curr->name, ) ) @endforeach @endif
# Name Code Category Description Unit Min Quantity Max Quantity
{{$loop->iteration}} {{$rows->name}} {{$rows->code}} {{$rows->inventoryCategory->name}} {{$rows->description}} {{$rows->inventoryUnit->name}} {{EF::numberFormat($rows->minimum)}} {{EF::numberFormat($rows->maximum)}}
@if(Auth::user()->hasAnyPermission(['All','Add Product']))    @endif

Add Product

@if(isset($product_list)) @php($pass_data = []) @foreach($product_list as $rows) @php($branch_curr = $rows->branch) @php( $pass_data = array( 'product' => Crypt::encrypt($rows->id), 'product_name' => $rows->name, 'product_code' => $rows->code, 'product_description' => $rows->description, 'product_unit' => $rows->unit, 'product_minimum' => $rows->minimum, 'product_maximum' => $rows->maximum, 'product_category' => $rows->inventoryCategory->name, 'product_unit' => $rows->inventoryUnit->name, EF::branchWhiteLabel()['module'] => $branch_curr->code.' '.$branch_curr->name, ) ) @endforeach @endif
# Name Code Category Description Unit Min Quantity Max Quantity
{{$loop->iteration}} {{$rows->name}} {{$rows->code}} {{$rows->inventoryCategory->name}} {{$rows->description}} {{$rows->inventoryUnit->name}} {{EF::numberFormat($rows->minimum)}} {{EF::numberFormat($rows->maximum)}}
@endsection @section('page_modal') @include('inventory_module.item.modals.add_service') @include('inventory_module.item.modals.update_service') @include('inventory_module.item.modals.add_product') @include('inventory_module.item.modals.update_product') @endsection @section('page_script') @include('inventory_module.scripts.item') @endsection