@extends('layouts.app') @section('style') @stop @section('content') @include("layouts.Cmodal")
@lang('layout.CreateNewPorject') {{--some info...--}}
{!! Form::open(array('route' => 'project.store','method'=>'POST','class'=>'form-horizontal','files'=> true)) !!}
{{Form::text('name',null,['class' => 'form-control','placeholder' => __('layout.ProjectName')])}}
{{Form::number('project_price',null,['class' => 'form-control','placeholder' => __('layout.Price'), 'step'=>'any' ])}}
{{Form::number('initial_price',null,['class' => 'form-control','placeholder' => __('layout.InitialPrice'), 'step'=>'any' ])}}
@{{selected_currency.symbol}} %
@{{selected_currency.symbol}}
@if(getCompanyTag() != 1)
@{{selected_currency.symbol}}
@endif
@{{ errors.first('expense_account') }}
@{{ errors.first('asset_account') }}
@lang('layout.Total') @{{ Number.parseFloat((subtotal - (discount*subtotal/100))).toFixed(2)}} @{{selected_currency.symbol}}
@lang('layout.Discount') (@{{ Number.parseFloat(discount).toFixed(2) }}%) @{{ Number.parseFloat(discount*subtotal/100).toFixed(2) }} @{{selected_currency.symbol}}
@lang('layout.Sub-Total') @{{ subtotal.toFixed(2)}} @{{selected_currency.symbol}}
{{-- begin Agent part --}}
@lang('layout.Volunteeres')
{{Form::number('grantee_amount',null,['class' => 'form-control','placeholder' => __('layout.GranteeAmount'), 'step'=>'any' ])}}
# @lang('layout.Name') @lang('layout.Price') @lang('layout.Discount') @lang('layout.Type') @lang('layout.Description')
@{{index+1}}
{{-- end Agent part --}} {{--
--}}
@if(getCompanyTag() != 1) @endif @if(getCompanyTag() != 1) @endif
@lang('layout.StuffDetails')
# @lang('layout.Category') @lang('layout.ItemName') @lang('layout.SiteName') @lang('layout.Quantity') @lang('layout.OnHand') @lang('layout.Measure') @lang('layout.SalePrice') @lang('layout.Total') @lang('layout.TotalHQ')
@{{index+1}} @{{ errors.first('inventory_id['+index+']') }} @{{ errors.first('inventory_quantity['+index+']') }} @{{myRound((item.item==null)?null:saleItemQuantity(item.item,item.item.quantity))}}
@{{selected_currency.symbol}}
@{{ (item.item==null)?null:getItemTotal(item.item,selected_currency.rate, null, null,selected_currency.hq_rate,null,null,selected_currency.static_rate).result }} @{{selected_currency.symbol}} @{{ (item.item==null)?null:getItemTotal(item.item,selected_currency.rate,null,null, selected_currency.hq_rate,null,null,selected_currency.static_rate).resultHQ }} @{{selected_currency.symbol}}
{{-- begin formula --}}
@lang('layout.Formula')
# @lang('layout.ItemName') @lang('layout.FormulaName') @lang('layout.QuantityToBuild') @lang('layout.Price') @lang('layout.Total')
@{{Index+1}}
@if(systemConfig()[30] == 1) @else @endif @{{selected_currency.symbol}}
@if(systemConfig()[30] == 1) @else @endif @{{selected_currency.symbol}}
{{-- end formula --}} {{-- begin BuildWithoutFormula --}}
@lang('menu.BuildWithoutFormula')
# @lang('layout.ItemName') @lang('layout.QuantityToBuild') @lang('layout.Price') @lang('layout.Total')
@{{productionIndex+1}}
@{{selected_currency.symbol}}
@{{selected_currency.symbol}}
{{-- end BuildWithoutFormula --}} {{-- begin Service --}}
@if(getCompanyTag() != 1) @endif @if(getCompanyTag() != 1) @endif
@lang('layout.Service')
# @lang('layout.ServiceName') @lang('layout.Quantity') @lang('layout.Measure') @lang('layout.Price') @lang('layout.Total')@lang('layout.TotalHQ')
@{{index+1}}
@{{selected_currency.symbol}}
@{{ (service.item==null)?null:getItemTotalService(service.item,selected_currency.rate,selected_currency.hq_rate, selected_currency.static_rate).result }} @{{selected_currency.symbol}} @{{ (service.item==null)?null:getItemTotalService(service.item,selected_currency.rate,selected_currency.hq_rate,selected_currency.static_rate).resultHQ }} @{{selected_currency.symbol}}
{{-- end Service --}}
@lang('layout.Shareholder')
# @lang('layout.Shareholder') @lang('layout.Percentage')
@{{index+1}}
{{-- project steps part start --}}
@lang('layout.ProjectSteps')
# @lang('layout.Name') @lang('layout.Number') @lang('layout.StartDate') @lang('layout.EndDate') @lang('layout.Status') @lang('layout.Expense') @lang('layout.User') @lang('layout.Photo') @lang('layout.Description')
@{{index+1}}
{{-- project steps part end --}} {{-- print information part start --}}
@lang('layout.PrintInformation')
# @lang('layout.Issue') @lang('layout.Quantity') @lang('layout.Type') @lang('layout.Description')
@{{index+1}}
{{-- print information part end --}} {{-- project receivable part start --}}
# @lang('layout.SelectBank') @lang('layout.Amount') @lang('layout.Rate') @lang('layout.Currency') @lang('layout.Amount') @lang('layout.Total') @lang('layout.Description')
@{{index+1}} @{{myRound(Number((payment.item==null)?null:payment.item.balance)+Number((payment.item==null)?null:payment.item.amount))}}
@{{(payment.item==null)?null:payment.item.code}}
@{{ (payment.item==null)?null:totalPayment(payment.item,selected_currency.rate,selected_currency.hq_rate,selected_currency.static_rate).result }} @{{selected_currency.symbol}}
{{-- project receivable part start --}} {{-- group buttons start --}}
{{-- group buttons end --}}
@if(getBuildExpense() == "true") @endif
@lang('layout.FormulaName') @{{ (selected_project_formula)?selected_project_formula.name:null }}
@lang('layout.QuantityToBuild') @{{ buildQ - buildQty}}
@lang('layout.TotalExpense') @{{ expenseAmount }} {{getHomeCurrency()["code"]}}
@lang('layout.Total') @{{totalCost}}
@lang('layout.FormulaItems')
# @lang('layout.Item') @lang('layout.Site') @lang('layout.Measure') @lang('layout.Formula') @lang('layout.CostInInventory') @lang('layout.OnHand') @lang('layout.ToBuild') @lang('layout.AfterBuild') @lang('layout.Total')
@{{InventoryIndex+1}} @{{ errors.first('inventory_id['+InventoryIndex+']') }} @{{ errors.first('item_quantity['+InventoryIndex+']') }} @{{(inventory.item==null)?null:((inventory.item.cost))}} {{-- @{{(inventory.item==null)?null:((inventory.item.cost * inventory.item.new_quantity*buildQty))}} --}} @{{(inventory.item==null)?null:((inventory.item.cost * inventory.item.new_quantity*buildQty))}}
@if(getBuildExpense() == "true")
@lang('layout.Expense')
# @lang('layout.Expense') @lang('layout.Description') @lang('layout.Amount')
@{{index+1}}
@endif
{{Form::close()}}
@endsection @push('scripts') @endpush