@extends('layouts.default', ['appTopMenu' => true]) @php use App\Models\inventory\Purchase_model; @endphp @section('title','Dashboard') @push('scripts') @endpush @section('content')
@if (session('status'))
{!! session('status') !!}
@elseif(session('failed'))
{{ session('failed') }}
@endif @if(\Session::has('success'))
{{\Session::get('success')}}
@endif {{ Form::open(array('name'=>'budgetForm', 'url' => 'budget/add', 'class'=>'form-horizontal' ,'method' => 'POST')) }} @if( !empty($budget_details->bid)) @endif
Add Budget Form
{!! Form::Label('Cheque-No', 'Cheque No') !!} {{ $errors->first('cheque_no') }}
{!! Form::Label('Cheque-Date', 'Cheque Date') !!} {{ $errors->first('cheque_date') }}
{!! Form::Label('Cheque-Amount', 'Cheque Amount ') !!} {{ $errors->first('cheque_amount') }}
{!! Form::Label('Letter-No', 'Letter No') !!} {{ $errors->first('letter_no') }}
{!! Form::Label('Letter-Date', 'Letter Date') !!} {{ $errors->first('letter_date') }}
{!! Form::Label('Purpose', 'Purpose') !!} {{ $errors->first('purpose_id') }}
{!! Form::Label('Purpose-amt', 'Purpose Amount') !!} {{ $errors->first('purpose_amount') }}
{!! Form::Label('Installation-Date', 'Installation Date') !!} {{ $errors->first('installation_date') }}
{!! Form::Label('Invoice-no', 'Invoice No') !!} {{ $errors->first('invoice_no') }}
{!! Form::Label('Invoice-date', 'Invoice Date') !!} {{ $errors->first('invoice_date') }}
{!! Form::Label('Amount-Released-Date', 'Amount Released Date') !!} {{ $errors->first('amt_released_date') }}
{!! Form::Label('remark', 'remark') !!} {{ $errors->first('remark') }}
CANCEL
{{ Form::close() }}
Vendor Details
@php $total_amount =0; @endphp @foreach ($results as $data) @php $total_amount += is_numeric($data->amount); @endphp @endforeach
# Cheque /Bank Ref No Details Sanction Letter No / Date Cheque Amount Purpose Purpose Amount Remark Action
{{ $loop->iteration }} @if(!empty($data->cheque_no)) Cheque / Bank Ref. No. : {{ $data->cheque_no }}
@endif @if(!empty($data->cheque_date)) Cheque / Transfer Date: {{ (!empty($data->cheque_date)) ? Carbon\Carbon::parse($data->cheque_date)->format('d-m-Y'):'NA'}}@endif
{{ $data->letter_no}}
{{ Carbon\Carbon::parse($data->letter_date)->format('d-m-Y')}}
{{ $data->amount }} {{ $data->pname }} {{ $data->budget }} {{ $data->remark}}
@endsection