@extends('layouts.app') @section('content') @php usort($tableGrid, "SiteHelpers::_sort") @endphp @if (defined('CNF_CURRENCY')) @php $currency = SiteHelpers::getCurrentcurrency(CNF_CURRENCY) @endphp @endif
{{ $pageTitle }}
{!! Form::open(array('url'=>'courselisting/delete/', 'class'=>'form-horizontal' ,'id' =>'bsetecTable' )) !!} {!! Form::hidden('types', '',array('id'=>'actiontype')) !!}
@foreach ($tableGrid as $t) @if($t['view'] =='1') @if($t['label'] == 'Description') @else @endif @endif @endforeach @foreach ($tableGrid as $t) @if($t['view'] =='1') @elseif($t['field'] == 'created_at') {!! Form::text('created_at',$course_date,array('class'=>'form-control date')); !!} @elseif($t['field'] == 'description') {!! Form::text('purchase_count',$purchase_count,array('class'=>'form-control')); !!} @else {!! SiteHelpers::transForm($t['field'] , $tableForm) !!} @endif @endif @endforeach @if(count($rowData)>0) @foreach ($rowData as $row) @foreach ($tableGrid as $field) @php $fname=$field['field']; @endphp @if($field['view'] =='1')
{{ Lang::get('core.no') }} {{ "No of students" }} {{ $t['label'] }} {{ Lang::get('core.btn_action') }}
{{ ++$i }} @if($field['attribute']['image']['active'] =='1') {!! SiteHelpers::showUploadedFile($row->$fname,$field['attribute']['image']['path']) !!} @else @php $conn = (isset($field['conn']) ? $field['conn'] : array() ) @endphp @if($field['field']=='image') @elseif($field['field']=='pricing')