@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') }}
| # |
Name |
Code |
Category |
Description |
Unit |
Min Quantity |
Max Quantity |
|
@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,
)
)
| {{$loop->iteration}} |
{{$rows->name}} |
{{$rows->code}} |
{{$rows->inventoryCategory->name}} |
{{$rows->description}} |
{{$rows->inventoryUnit->name}} |
{{EF::numberFormat($rows->minimum)}} |
{{EF::numberFormat($rows->maximum)}} |
|
@endforeach
@endif
| # |
Name |
Code |
Category |
Description |
Unit |
Min Quantity |
Max Quantity |
|
@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,
)
)
| {{$loop->iteration}} |
{{$rows->name}} |
{{$rows->code}} |
{{$rows->inventoryCategory->name}} |
{{$rows->description}} |
{{$rows->inventoryUnit->name}} |
{{EF::numberFormat($rows->minimum)}} |
{{EF::numberFormat($rows->maximum)}} |
|
@endforeach
@endif
@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')
{{ Form::open(array('route' => 'inventory_category.store' , 'id' => 'form_add_category', 'class' => 'cls_form' , 'method' => 'POST' , 'enctype'=>'multipart/form-data'
)) }}
{{ Form::open(array('route' => 'inventory_unit.store' , 'id' => 'form_add_unit', 'class' => 'cls_form' , 'method' => 'POST' , 'enctype'=>'multipart/form-data'
)) }}
@endsection
@section('page_script')
@include('inventory_module.scripts.item')
@endsection