@extends('layouts/acc_layout') @section('title', '| Advance Receive') @section('content') @php use App\accounting\AccAdvRegister; @endphp
Advance Receive
{!! Form::open(array('url' => '', 'role' => 'form', 'class'=>'form-horizontal form-groups')) !!}
{!! Form::label('advReceiveNumber', 'Advance Receive Id', ['class' => 'col-sm-3 control-label']) !!}
:
{!! Form::text('advReceiveNumber',$advReceiveNumber, ['class'=>'form-control', 'id' => 'advReceiveNumber','readonly']) !!}
{!! Form::label('project', 'Project', ['class' => 'col-sm-3 control-label']) !!}
:
@php $projects = DB::table('gnr_project')->select('projectCode','name','id')->orderBy('projectCode')->get(); @endphp

{!! Form::label('projectType', 'Project Type', ['class' => 'col-sm-3 control-label']) !!}
:
@php $projectTypes =DB::table('gnr_project_type')->select('projectTypeCode','name','id')->get(); @endphp

{!! Form::label('advRegType', 'Advance Type', ['class' => 'col-sm-3 control-label']) !!}
:
@php $advTypeList = array(''=>'Select Advance Type') + DB::table('acc_adv_register_type')->pluck('name','id')->toArray(); @endphp {!! Form::select('advRegType', $advTypeList ,null, ['class'=>'form-control', 'id' => 'advRegType']) !!}

{{--
{!! Form::label('advPaymentId', 'Advance Payment Id', ['class' => 'col-sm-3 control-label']) !!}
:
@php $advPaymentIdList = array(''=>'Select Advance Payment Id') + DB::table('acc_adv_register')->where('status',1)->pluck('advRegId')->toArray(); @endphp {!! Form::select('advPaymentId', $advPaymentIdList ,null, ['class'=>'form-control', 'id' => 'advPaymentId']) !!}

--}}
{!! Form::label('advPaymentId', 'Advance Payment Id', ['class' => 'col-sm-3 control-label']) !!}
:
@php $advPaymentIdLists =DB::table('acc_adv_register')->where('status',1)->select('advRegId','id')->get(); @endphp

Services Category
:
HouseOwner Supplier Employee

{!! Form::label('advRegName', 'Name', ['class' => 'col-sm-3 control-label']) !!}
:

Receive Type
:
Cash Voucher Bank

{!! Form::label('advReceiveAmount', 'Amount', ['class' => 'col-sm-3 control-label']) !!}
:
{!! Form::text('advReceiveAmount',null, ['class'=>'form-control', 'id' => 'advReceiveAmount','autocomplete'=>'off']) !!}

{!! Form::label('paymentDate', 'Receive Date', ['class' => 'col-sm-3 control-label']) !!}
:
{!! Form::text('paymentDate', null,['class'=>'form-control','id' => 'paymentDate','readonly','style'=>'cursor:pointer']) !!}

{!! Form::submit('Submit', ['id' => 'save', 'class' => 'btn btn-info','type'=>'button']) !!} Close
{!! Form::close() !!}