@extends('layouts/acc_layout') @section('title', '| Rent Register') @section('content') @include('successMsg')
{!! Form::open(array('url' => '','id'=>'entryForm', 'role' => 'form', 'class'=>'form-horizontal form-groups')) !!}
Add Rent Agreement
General Part:

{{---------------------------------------- Start of 1st coloum -----------------------------------------------}}
{!! Form::label('companyId', 'Company:', ['class' => 'col-sm-3 control-label']) !!}
@php $companyIds = DB::table('gnr_company')->select('id','name')->get(); @endphp
{!! Form::label('projectId', 'Project:', ['class' => 'col-sm-3 control-label']) !!}
{!! Form::label('projectTypeId', 'Project Type:', ['class' => 'col-sm-3 control-label']) !!}
{!! Form::label('branchId', 'Branch:', ['class' => 'col-sm-3 control-label']) !!}
{!! Form::label('orgSignatory', 'Org. Representative:', ['class' => 'col-sm-3 control-label']) !!}

Fatal error: Uncaught Error: Class "DB" not found in /home/shikkhaplus/public_html/guk_bk/resources/views/accounting/register/rentRegister/editItem.blade.php:78 Stack trace: #0 {main} thrown in /home/shikkhaplus/public_html/guk_bk/resources/views/accounting/register/rentRegister/editItem.blade.php on line 78