ultimatepos/Modules/Manufacturing/Resources/views/production/index.blade.php

72 lines
3.0 KiB
PHP

@extends('layouts.app')
@section('title', __('manufacturing::lang.production'))
@section('content')
@include('manufacturing::layouts.nav')
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>@lang('manufacturing::lang.production')</h1>
</section>
<!-- Main content -->
<section class="content">
@component('components.filters', ['title' => __('report.filters')])
<div class="col-md-3">
<div class="form-group">
{!! Form::label('productstion_list_filter_location_id', __('purchase.business_location') . ':') !!}
{!! Form::select('productstion_list_filter_location_id', $business_locations, null, ['class' => 'form-control select2', 'style' => 'width:100%', 'placeholder' => __('lang_v1.all') ]); !!}
</div>
</div>
<div class="col-md-3">
<div class="form-group">
{!! Form::label('production_list_filter_date_range', __('report.date_range') . ':') !!}
{!! Form::text('production_list_filter_date_range', null, ['placeholder' => __('lang_v1.select_a_date_range'), 'class' => 'form-control', 'readonly']); !!}
</div>
</div>
<div class="col-md-3">
<div class="form-group">
<div class="checkbox">
<br>
<label>
{!! Form::checkbox('production_list_is_final', 1, false,
[ 'class' => 'input-icheck', 'id' => 'production_list_is_final']); !!} {{ __('manufacturing::lang.finalize') }}
</label>
</div>
</div>
</div>
@endcomponent
@component('components.widget', ['class' => 'box-solid'])
@slot('tool')
<div class="box-tools">
<a class="btn btn-block btn-primary" href="{{action([\Modules\Manufacturing\Http\Controllers\ProductionController::class, 'create'])}}">
<i class="fa fa-plus"></i> @lang( 'messages.add' )</a>
</div>
@endslot
<div class="table-responsive">
<table class="table table-bordered table-striped" id="productions_table">
<thead>
<tr>
<th>@lang('messages.date')</th>
<th>@lang('purchase.ref_no')</th>
<th>@lang('purchase.location')</th>
<th>@lang('sale.product')</th>
<th>@lang('lang_v1.quantity')</th>
<th>@lang('manufacturing::lang.total_cost')</th>
<th>@lang('messages.action')</th>
</tr>
</thead>
</table>
</div>
@endcomponent
</section>
<!-- /.content -->
<div class="modal fade" id="recipe_modal" tabindex="-1" role="dialog"
aria-labelledby="gridSystemModalLabel">
</div>
@stop
@section('javascript')
@include('manufacturing::layouts.date_helpers')
@include('manufacturing::layouts.partials.common_script')
@endsection