{!! Form::open(['url' => action('ProductionCostingController@processProduction'), 'method' => 'post', 'id' => 'decompose_setup' ]) !!}

Make Recipe Production

{!! Form::label('location_id', 'Choose Business Location:*') !!} {!! Form::select('location_id', $business_locations, $business_location_first->id, ['class' => 'form-control select2','required', 'placeholder' => __( 'messages.please_select' )]); !!}
{!! Form::label('main_category', 'Choose Product Category:*') !!} {!! Form::select('main_category', $categories->pluck('name', 'id'), null, ['class' => 'form-control select2','required', 'placeholder' => __( 'messages.please_select' )]); !!}
{!! Form::label('finished_product', 'Choose Finished Product:*') !!} {!! Form::select('finished_product', array(), null, ['class' => 'form-control select2','required', 'placeholder' => __( 'messages.please_select' )]); !!}
{!! Form::label('production_qty', 'Output Qty Based on Setup:*') !!} {!! Form::hidden('production_mst_id', null, ['class' => 'form-control input_number','required','readonly', 'id'=>'production_mst_id','placeholder' => 'Input Expected Output']); !!} {!! Form::hidden('production_qty', null, ['class' => 'form-control input_number','required','readonly', 'id'=>'production_qty','placeholder' => 'Input Expected Output']); !!} {!! Form::text('expected_production', null, ['class' => 'form-control input_number','required','readonly', 'id'=>'expected_production', 'placeholder' => 'Input Expected Output']); !!}
{!! Form::label('production_qty_input', 'Produced Qty (including waste):*') !!} {!! Form::text('production_qty_input', 0, ['class' => 'form-control input_number','required', 'placeholder' => 'Input Output Qty']); !!}
{!! Form::label('waste_qty', 'Waste Quantity:*') !!} {!! Form::text('waste_qty', 0, ['class' => 'form-control input_number','required', 'placeholder' => 'Input Expected Output']); !!}
{!! Form::label('production_date', 'Production Date:*') !!} {!! Form::date('production_date', null, ['class' => 'form-control','required']); !!}
{!! Form::close() !!}