@extends('layouts.template') @section('content')

Tools Control

@if(Session::has('flash_message'))

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

@endif

Tools Control - Filters

{!! Form::open(['method' => 'GET', 'url' => '/store/tool-creation', 'class' => 'form-vertical', 'role' => 'search']) !!}
{!! Form::close() !!}

Tool Creation

{!! Form::open(['url' => '/store/tool-creation/store', 'id'=>'toolcreationform', 'files' => true]) !!}
{!! Form::text('tool', null, ['class' => 'form-control']) !!} {!! $errors->first('tool', '

:message

') !!}
{!! Form::text('quantity', null, ['class' => 'form-control']) !!} {!! $errors->first('quantity', '

:message

') !!}
{!! Form::text('price', null, ['class' => 'form-control']) !!} {!! $errors->first('price', '

:message

') !!}
{!! Form::select('manufacturer',['' =>'Select Supplier'] + $page_data['supplier']->toArray() ,null,['class' => 'col-md-6 form-control arr']) !!}
{!! $errors->first('manufacturer', '

:message

') !!}
{!! Form::select('category',['' =>'Select Category'] + $page_data['category']->toArray(),null,['class' => 'col-md-6 form-control arr']) !!}
{!! $errors->first('category', '

:message

') !!}
{!! Form::select('bin_id',['' =>'Select Bin'] + $page_data['bin_id']->toArray(),null,['class' => 'col-md-6 form-control arr']) !!}
{!! $errors->first('bin-id', '

:message

') !!}
{!! Form::text('size', null, ['class' => 'form-control']) !!} {!! $errors->first('size', '

:message

') !!}
{!! Form::text('description', null, ['class' => 'form-control']) !!} {!! $errors->first('description', '

:message

') !!}
{!! $errors->first('image_path', '

:message

') !!}
{!! Form::submit(isset($submitButtonText) ? $submitButtonText : 'Create', ['class' => 'btn btn-primary']) !!} {!! Form::button('Cancel', ['id'=>'tccancel','class' => 'btn btn-primary']) !!}
{!! Form::close() !!}

Tool Issue

{!! Form::open(['url' => '/store/tool-issue/store', 'id'=>'toolissueform','class'=>'form-vertical','files' => true]) !!}

{!! Form::select('tool_id',['' =>'Select Tool'] + $page_data['tool_id']->toArray(),null,['id'=>'tool_id','class' => 'col-md-6 form-control arr']) !!}
{!! $errors->first('tool_id', '

:message

') !!}

{!! Form::select('job_number',['' =>'Select Job Nr'] + $page_data['job_number']->toArray(),null,['id'=>'job_number','class' => 'col-md-6 form-control arr']) !!}
{!! $errors->first('job_number', '

:message

') !!}
{!! Form::date('issue_date', null, ['id'=>'datepicker','class' => 'form-control']) !!} {!! $errors->first('issue_date', '

:message

') !!}
{!! Form::text('quantity', null, ['class' => 'form-control']) !!} {!! $errors->first('quantity', '

:message

') !!}
{!! Form::text('issue_to', null, ['class' => 'form-control']) !!} {!! $errors->first('issue_to', '

:message

') !!}
{!! Form::select('condition', [''=>'Select Condition','good'=>'Good','damaged'=>'Damaged','repaired'=>'Repaired'],null, ['class' => 'form-control','id'=>'issuecondition']) !!}
{!! $errors->first('condition', '

:message

') !!}
{!! Form::text('remark', null, ['class' => 'form-control']) !!} {!! $errors->first('remark', '

:message

') !!}
{!! Form::submit(isset($submitButtonText) ? $submitButtonText : 'Create', ['class' => 'btn btn-primary']) !!} {!! Form::button('Cancel', ['id'=>'ticancel','class' => 'btn btn-primary']) !!}
{!! Form::close() !!}

Tool Return

{!! Form::open(['url' => '/store/tool-return/store', 'id'=>'toolreturnform','class'=>'form-vertical','files' => true]) !!}

{!! Form::select('tool_id',['' =>'Select Tool'] + $page_data['tool_id']->toArray(),null,['id'=>'returntool_id','class' => 'col-md-6 form-control arr']) !!}
{!! $errors->first('tool_id', '

:message

') !!}

{!! $errors->first('job_number', '

:message

') !!}
{!! Form::date('return_date', null, ['id'=>'datepicker1','class' => 'form-control']) !!} {!! $errors->first('return_date', '

:message

') !!}
{!! Form::text('quantity', null, ['id'=>'qty_can_free','class' => 'form-control']) !!} {!! $errors->first('quantity', '

:message

') !!}
{!! Form::text('return_by', null, ['class' => 'form-control']) !!} {!! $errors->first('return_by', '

:message

') !!}
{!! Form::select('condition', [''=>'Select Condition','good'=>'Good','damaged'=>'Damaged','repaired'=>'Repaired'],null, ['class' => 'form-control','id'=>'returncondition']) !!}
{!! $errors->first('condition', '

:message

') !!}
{!! Form::text('remark', null, ['class' => 'form-control']) !!} {!! $errors->first('remark', '

:message

') !!}
{!! Form::submit(isset($submitButtonText) ? $submitButtonText : 'Create', ['class' => 'btn btn-primary']) !!} {!! Form::button('Cancel', ['id'=>'trcancel','class' => 'btn btn-primary']) !!}
{!! Form::close() !!}

Tool Restock

{!! Form::open(['url' => '/store/tool-restock/store', 'id'=>'toolrestockform','class'=>'form-vertical','files' => true]) !!}
{!! Form::date('date', null, ['id'=>'datepicker1','class' => 'form-control']) !!} {!! $errors->first('date', '

:message

') !!}

{!! Form::select('tool_id',['' =>'Select Tool'] + $page_data['tool_id']->toArray(),null,['id'=>'restocktool_id','class' => 'col-md-6 form-control arr']) !!}
{!! $errors->first('tool_id', '

:message

') !!}

{!! Form::select('manufacturer',['' =>'Select Supplier'] + $page_data['supplier']->toArray() ,null,['class' => 'col-md-6 form-control arr']) !!}
{!! $errors->first('manufacturer', '

:message

') !!}
{!! Form::text('size', null, ['class' => 'form-control restocksize']) !!} {!! $errors->first('size', '

:message

') !!}
{!! Form::text('quantity', null, ['class' => 'form-control']) !!} {!! $errors->first('quantity', '

:message

') !!}
{!! Form::text('price', null, ['class' => 'form-control']) !!} {!! $errors->first('price', '

:message

') !!}
{!! Form::select('requested_by',['' =>'Select Requested By'] + $page_data['name']->toArray(),null,['class' => 'col-md-6 form-control arr']) !!}
{!! $errors->first('requested_by', '

:message

') !!}
{!! Form::select('approved_by',['' =>'Select Approved By'] + $page_data['approve_name']->toArray(),null,['class' => 'col-md-6 form-control arr']) !!}
{!! $errors->first('approved_by', '

:message

') !!}
{!! Form::select('received_by',['' =>'Select Received By'] + $page_data['name']->toArray(),null,['class' => 'col-md-6 form-control arr']) !!}
{!! $errors->first('received_by', '

:message

') !!}
{!! Form::submit(isset($submitButtonText) ? $submitButtonText : 'Create', ['class' => 'btn btn-primary']) !!} {!! Form::button('Cancel', ['id'=>'trscancel','class' => 'btn btn-primary']) !!}
{!! Form::close() !!}

Tool Disposed

{!! Form::open(['url' => '/store/tool-restock/store', 'id'=>'tooldisposedform','class'=>'form-vertical','files' => true]) !!}
{!! Form::date('date', null, ['id'=>'datepicker1','class' => 'form-control']) !!} {!! $errors->first('date', '

:message

') !!}

{!! Form::select('tool_id',['' =>'Select Tool'] + $page_data['tool_id']->toArray(),null,['id'=>'disposedtool_id','class' => 'col-md-6 form-control arr']) !!}
{!! $errors->first('tool_id', '

:message

') !!}

{!! Form::select('manufacturer',['' =>'Select Supplier'] + $page_data['supplier']->toArray() ,null,['class' => 'col-md-6 form-control arr']) !!}
{!! $errors->first('manufacturer', '

:message

') !!}
{!! Form::text('size', null, ['class' => 'form-control disposedsize']) !!} {!! $errors->first('size', '

:message

') !!}
{!! Form::text('quantity', null, ['class' => 'form-control']) !!} {!! $errors->first('quantity', '

:message

') !!}
{!! Form::text('price', null, ['class' => 'form-control']) !!} {!! $errors->first('price', '

:message

') !!}
{!! Form::select('requested_by',['' =>'Select Request By'] + $page_data['name']->toArray(),null,['class' => 'col-md-6 form-control arr']) !!}
{!! $errors->first('requested_by', '

:message

') !!}
{!! Form::select('approved_by',['' =>'Select Approved By'] + $page_data['approve_name']->toArray(),null,['class' => 'col-md-6 form-control arr']) !!}
{!! $errors->first('approved_by', '

:message

') !!}
{!! Form::select('disposed_by',['' =>'Select Disposed By'] + $page_data['name']->toArray(),null,['class' => 'col-md-6 form-control arr']) !!}
{!! $errors->first('disposed_by', '

:message

') !!}
{!! Form::submit(isset($submitButtonText) ? $submitButtonText : 'Create', ['class' => 'btn btn-primary']) !!} {!! Form::button('Cancel', ['id'=>'tdcancel','class' => 'btn btn-primary']) !!}
{!! Form::close() !!}
@if (Auth::user()->type == 'admin' || Auth::user()->type == 'superuser' || Auth::user()->type == 'supervisor') @endif @foreach($tool_creation as $item) @if (Auth::user()->type == 'admin' || Auth::user()->type == 'superuser' || Auth::user()->type == 'supervisor') @endif @endforeach
Id Logo Tool Manufacturer Category Size Description BIN Stock Qty out BalanceAction
{{ $item->id }} Logo {{ $item->tool }} {{ $item->manufacturer }} {{ $item->category }} {{ $item->size }} {{ $item->description }} {{ $item->bin_id }} {{ $item->quantity }} {{ $item->tool_issue->sum('quantity') }} {{ $item->quantity - $item->tool_issue->sum('quantity') }}

Restock / Disposal History Log

Tool Manufacturer Category Size Description BIN Re Stock Disposal Stock

History Log

Tool Job Number Size Quantity Issued Quantity Returned Issued Date Issued To Returned Date Returned By
@endsection