<div class="modal-dialog ui-front" role="document">
  	<div class="modal-content">

    <?php echo Form::open(['url' => action('ProductionCostingController@processRecipeCostSetup'), 'method' => 'post', 'id' => 'decompose_setup' ]); ?>

    <div class="modal-header">
      <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
      <h4 class="modal-title">Add New Production Costing</h4>
    </div>

    <div class="modal-body">
      <div class="form-group">
        	<?php echo Form::label('main_category', 'Choose Product Category:*'); ?>

          	<?php echo Form::select('main_category', $categories->pluck('name', 'id'), null, ['class' => 'form-control select2','required', 'placeholder' => __( 'messages.please_select' )]);; ?>

      </div>
      <div class="form-group">
        	<?php echo Form::label('finished_product', 'Choose Finished Product:*'); ?>

          	<?php echo Form::select('finished_product', array(), null, ['class' => 'form-control select2','required', 'placeholder' => __( 'messages.please_select' )]);; ?>

      </div>
      <div class="form-group col-md-6">
        	<?php echo Form::label('production_qty', 'Expected Output Qty:*'); ?>

          	<?php echo Form::text('production_qty', null, ['class' => 'form-control input_number','required', 'placeholder' => 'Input Expected Output']);; ?>

      </div>
      <div class="form-group col-md-6">
        	<?php echo Form::label('require_production', 'Require Production:*'); ?>

          	<?php echo Form::select('require_production', $yesno,null, ['class' => 'form-control input_number select2','required', 'placeholder' => 'Choose Option']);; ?>

      </div>
	  <div class="clearfix"></div>
      
	<div class="row">
		<div class="col-sm-8 col-sm-offset-2">
			<div class="form-group">
				<div class="input-group">
					<span class="input-group-addon">
						<i class="fa fa-search"></i>
					</span>
					<?php echo Form::text('search_product', null, ['class' => 'form-control mousetrap', 'id' => 'search_product', 'placeholder' => __('lang_v1.search_product_placeholder'),'disabled'=>'true']);; ?>

				</div>
			</div>
		</div> 
	</div>
	<div class="row"> 
	<div class="col-sm-12"> 
		<!-- Keeps count of product rows -->
		<input type="hidden" id="product_row_count" 
			value="0">
		<table class="table table-condensed table-bordered table-striped table-responsive" id="purchase_entry_table">
			<thead>
				<tr>
					<th class="tex-center col-md-7 ">	
						Raw Material
					</th>
					<th class="text-center col-md-4">
						<?php echo app('translator')->getFromJson('sale.qty'); ?>
					</th>
					<th class="text-center"><i class="fas fa-times" aria-hidden="true"></i></th>
				</tr>
			</thead>
			<tbody></tbody>
		</table>
	</div> 
	</div> 

    </div>

    <div class="modal-footer">
      <button type="submit" class="btn btn-primary"><?php echo app('translator')->getFromJson( 'messages.save' ); ?></button>
      <button type="button" class="btn btn-default" data-dismiss="modal"><?php echo app('translator')->getFromJson( 'messages.close' ); ?></button>
    </div>

    <?php echo Form::close(); ?>


  	</div><!-- /.modal-content -->
</div><!-- /.modal-dialog --><?php /**PATH D:\System\htdocs\bethosonlinee\resources\views/production_costing/create.blade.php ENDPATH**/ ?>