@extends('layouts.app') @section('style') @stop @section('content') @include("layouts.Invmodal") @include("bills.modal")
@lang('layout.AddNewAssembly') {{----}}
{{Form::open(['route' => 'assembly.store','method' => 'POST','class' => 'form-','id'=>'assembly-form'])}}
@{{ errors.first('item') }}
{{Form::text('name',null,['class' => 'form-control','placeholder' =>__('layout.EnterAssemblyName'),'v-model' =>'name','v-validate' =>'"required|min:2"','data-vv-as' => __('layout.EnterAssemblyName')])}} @{{ errors.first('name') }}
{{Form::number('code',$code,['class' => 'form-control','min' =>'0','placeholder' =>__('layout.AssemblyCode'),'v-model' =>'code','v-validate' =>'"required"','data-vv-as' => __('layout.AssemblyCode')])}} @{{ errors.first('code') }}
  • @lang('layout.FormulaItems')
  • # @lang('layout.ItemName') @lang('layout.Measure') @lang('layout.Quantity')
    @{{InventoryIndex+1}} @{{ errors.first('inventory_id['+InventoryIndex+']') }} @{{ errors.first('inventory_qty['+InventoryIndex+']') }}
  • @lang('layout.AdjastmentItems')
  • # @lang('layout.ItemName') @lang('layout.Measure') @lang('layout.Quantity')
    @{{InventoryIndex+1}}
    @if(getBuildExpense() == "true")
  • @lang('layout.Expense')
  • # @lang('layout.ExpenseAccount') @lang('layout.Description') @lang('layout.Amount')
    @{{index+1}}
    @endif
    @lang('layout.Cancel')
    {{Form::close()}}

    @lang('layout.MetricType')

    @lang('layout.Measure')

    @lang('layout.OtherMeasure')

    @lang('layout.AddNewMeasure')

    @endsection @push('scripts') @endpush