@extends('layouts/eims_layout') @section('title', '| ' . $pageTitle) @section('content')
Add {{ $pageTitle }}
{!! Form::open(['url' => '', 'role' => 'form', 'class' => 'form-horizontal form-groups']) !!} {{--
{!! Form::label('campus_id', 'Campus: *', ['class' => 'col-sm-3 control-label']) !!}
{!! Form::select('campus_id', ($campus), null, array('class'=>'form-control', 'id' => 'campus_id','placeholder' => 'Please Select Campus')) !!}

--}}
{!! Form::label( 'name', 'Title/Name: *', ['class' => 'col-sm-3 control-label'], false, ) !!}
{!! Form::text('name', $value = null, [ 'class' => 'form-control', 'id' => 'name', 'type' => 'text', 'placeholder' => 'Enter fees discount title/name', ]) !!}

{!! Form::label( 'fees_discount_code', 'Discount Code: *', ['class' => 'col-sm-3 control-label'], false, ) !!}
{!! Form::text('fees_discount_code', $value = null, [ 'class' => 'form-control', 'id' => 'fees_discount_code', 'type' => 'text', 'placeholder' => 'Enter fees discount code', ]) !!}

{!! Form::label( 'discount_type', 'Discount Type: *', ['class' => 'col-sm-3 control-label'], false, ) !!}

{!! Form::label( 'percentage_amount', 'Amount: *', ['class' => 'col-sm-3 control-label'], false, ) !!}
{!! Form::number('percentage_amount', $value = null, [ 'class' => 'form-control', 'id' => 'percentage_amount', 'step' => '0.01', // Allows decimal values 'placeholder' => 'Enter amount', 'min' => '0', // Optional: ensures only positive values are allowed ]) !!}

{!! Form::label( 'description', 'Description: *', ['class' => 'col-sm-3 control-label'], false, ) !!}
{!! Form::textarea('description', $value = null, [ 'class' => 'form-control', 'id' => 'description', 'placeholder' => 'Enter description', 'rows' => 3, // You can adjust the number of rows as needed ]) !!}

{!! Form::label('submit', ' ', ['class' => 'col-sm-3 control-label']) !!}
{!! Form::submit('Submit', ['id' => 'add', 'class' => 'btn btn-info']) !!} Close
{!! Form::close() !!}
@endsection