47 lines
5.2 KiB
PHP
47 lines
5.2 KiB
PHP
@extends('backend.template')
|
|
@section('content')
|
|
<div class='card'>
|
|
<div class='card-header d-flex justify-content-between align-items-center'>
|
|
<h2 class="">{{ label('Edit Students') }}</h2>
|
|
<?php createButton("btn-primary btn-cancel","","Cancel",route('students.index')); ?>
|
|
|
|
</div>
|
|
<div class='card-body'>
|
|
<form action="{{route('students.update',[$data->student_id])}}" id="updateCustomForm" method="POST" >
|
|
@csrf <input type=hidden name='student_id' value='{{$data->student_id}}'/>
|
|
<div class="row"><div class="col-lg-6">{{createCustomSelect('tbl_campaigns', 'title', 'campaign_id', $data->campaigns_id, 'Campaigns Id','campaigns_id', 'form-control select2','status<>-1')}}</div><div class="col-lg-6">{{createCustomSelect('tbl_sources', 'title', 'source_id', $data->sources_id, 'Sources Id','sources_id', 'form-control select2','status<>-1')}}</div><div class="col-lg-6">{{createCustomSelect('tbl_leadcategories', 'title', 'leadcategory_id', $data->leadcategories_id, 'Leadcategories Id','leadcategories_id', 'form-control select2','status<>-1')}}</div><div class="col-lg-6">{{createCustomSelect('tbl_agents', 'title', 'agent_id', $data->agents_id, 'Agents Id','agents_id', 'form-control select2','status<>-1')}}</div><div class="col-lg-6">{{createCustomSelect('tbl_countries', 'title', 'country_id', $data->countries_id, 'Countries Id','countries_id', 'form-control select2','status<>-1')}}</div><div class="col-lg-6">{{createText("name","name","Name",'',$data->name)}}
|
|
</div><div class="col-lg-6">{{createText("email","email","Email",'',$data->email)}}
|
|
</div><div class="col-lg-6">{{createText("phone","phone","Phone",'',$data->phone)}}
|
|
</div><div class="col-lg-6">{{createText("mobile","mobile","Mobile",'',$data->mobile)}}
|
|
</div><div class="col-lg-6">{{createText("address","address","Address",'',$data->address)}}
|
|
</div><div class="col-lg-6">{{createText("see_year","see_year","See Year",'',$data->see_year)}}
|
|
</div><div class="col-lg-6">{{createText("see_grade","see_grade","See Grade",'',$data->see_grade)}}
|
|
</div><div class="col-lg-6">{{createText("see_stream","see_stream","See Stream",'',$data->see_stream)}}
|
|
</div><div class="col-lg-6">{{createText("see_school","see_school","See School",'',$data->see_school)}}
|
|
</div><div class="col-lg-6">{{createText("plus2_year","plus2_year","Plus2 Year",'',$data->plus2_year)}}
|
|
</div><div class="col-lg-6">{{createText("plus2_grade","plus2_grade","Plus2 Grade",'',$data->plus2_grade)}}
|
|
</div><div class="col-lg-6">{{createText("plus2_stream","plus2_stream","Plus2 Stream",'',$data->plus2_stream)}}
|
|
</div><div class="col-lg-6">{{createText("plus2_college","plus2_college","Plus2 College",'',$data->plus2_college)}}
|
|
</div><div class="col-lg-6">{{createText("bachelors_year","bachelors_year","Bachelors Year",'',$data->bachelors_year)}}
|
|
</div><div class="col-lg-6">{{createText("bachelors_grade","bachelors_grade","Bachelors Grade",'',$data->bachelors_grade)}}
|
|
</div><div class="col-lg-6">{{createText("bachelors_stream","bachelors_stream","Bachelors Stream",'',$data->bachelors_stream)}}
|
|
</div><div class="col-lg-6">{{createText("bachelors_college","bachelors_college","Bachelors College",'',$data->bachelors_college)}}
|
|
</div><div class="col-lg-6">{{createText("highest_qualification","highest_qualification","Highest Qualification",'',$data->highest_qualification)}}
|
|
</div><div class="col-lg-6">{{createText("highest_grade","highest_grade","Highest Grade",'',$data->highest_grade)}}
|
|
</div><div class="col-lg-6">{{createText("highest_stream","highest_stream","Highest Stream",'',$data->highest_stream)}}
|
|
</div><div class="col-lg-6">{{createText("highest_college","highest_college","Highest College",'',$data->highest_college)}}
|
|
</div><div class="col-lg-6">{{createText("preparation_class","preparation_class","Preparation Class",'',$data->preparation_class)}}
|
|
</div><div class="col-lg-6">{{createText("preparation_score","preparation_score","Preparation Score",'',$data->preparation_score)}}
|
|
</div><div class="col-lg-6">{{createText("preparation_bandscore","preparation_bandscore","Preparation Bandscore",'',$data->preparation_bandscore)}}
|
|
</div><div class="col-lg-6">{{createText("preparation_date","preparation_date","Preparation Date",'',$data->preparation_date)}}
|
|
</div><div class="col-lg-6">{{createText("preffered_location","preffered_location","Preffered Location",'',$data->preffered_location)}}
|
|
</div><div class="col-lg-6">{{createText("intrested_for_country","intrested_for_country","Intrested For Country",'',$data->intrested_for_country)}}
|
|
</div><div class="col-lg-6">{{createText("intrested_course","intrested_course","Intrested Course",'',$data->intrested_course)}}
|
|
</div><div class="col-lg-6">{{createText("user_agent","user_agent","User Agent",'',$data->user_agent)}}
|
|
</div><div class="col-lg-6">{{createText("tags","tags","Tags",'',$data->tags)}}
|
|
</div><div class="col-lg-6">{{createText("coupen_code","coupen_code","Coupen Code",'',$data->coupen_code)}}
|
|
</div><div class="col-lg-12 pb-2">{{createPlainTextArea("remarks",'',"Remarks",$data->remarks)}}
|
|
</div> <div class="col-md-12"><?php createButton("btn-primary btn-update","","Submit"); ?>
|
|
<?php createButton("btn-primary btn-cancel","","Cancel",route('students.index')); ?>
|
|
</div> </form></div></div>
|
|
@endsection
|