73 lines
3.5 KiB
PHP
73 lines
3.5 KiB
PHP
|
<tr style="background: @if(!empty($registration->leadcategory)) {{$registration->leadcategory->color_code}} @endif">
|
||
|
<td class="text-center pt-3">
|
||
|
<div class="custom-checkbox custom-control">
|
||
|
<input type="checkbox" name="registrationcheckbox" data-checkboxes="mygroup" class="custom-control-input registrationcheckbox" id="{{$registration->id}}" value="{{$registration->id}}">
|
||
|
<label for="{{$registration->id}}" class="custom-control-label"> </label>
|
||
|
</div>
|
||
|
</td>
|
||
|
<td>{{++$key}}</td>
|
||
|
<td class="tb-col">{{ Str::limit($registration->name, 47) }}</td>
|
||
|
<td class="tb-col">{{ Str::limit($registration->email, 47) }}</td>
|
||
|
<td>{{ Str::limit($registration->phone, 47) }}</td>
|
||
|
<td>{{ Str::limit($registration->source, 47) }}</td>
|
||
|
<td>{{ ucfirst($registration->preffered_location) }}</td>
|
||
|
<td>{{ $registration->coupen_code }}</td>
|
||
|
|
||
|
<td >
|
||
|
<ul class="d-flex flex-wrap gap g-3 ">
|
||
|
<li>
|
||
|
<a href="javascript: void(0);" data-registration_id="{{$registration->id}}" class="btn btn-flat btn-edit text-info btn-icon btn-soft btn-editCanvas" title="Edit Registration">
|
||
|
<em class="icon ni ni-edit"></em>
|
||
|
</a>
|
||
|
|
||
|
</li>
|
||
|
<li>
|
||
|
<a href="{{route('registration.show', $registration->id)}}" class="btn btn-flat text-primary btn-icon btn-soft" title="view">
|
||
|
<em class="icon ni ni-eye"></em>
|
||
|
</a>
|
||
|
</li>
|
||
|
<li>
|
||
|
<a href="{{route('registration.print', $registration->id)}}" class="btn text-success btn-flat btn btn-icon btn-soft" title="print">
|
||
|
<em class="icon ni ni-printer"></em>
|
||
|
</a>
|
||
|
</li>
|
||
|
<li>
|
||
|
<a href="#">
|
||
|
<button type="button" class="btn btn-flat btn text-danger btn-icon btn-soft" onclick="deleteThis(this); return false;" link="{{ route('registration.destroy', $registration->id) }}">
|
||
|
<em class="icon ni ni-trash"></em>
|
||
|
</button>
|
||
|
</a>
|
||
|
</li>
|
||
|
<li>
|
||
|
|
||
|
<a href="javascript: void(0);" data-registration_id="{{$registration->id}}" class="btn btn-sm btn-secondary btn-sm addfollowup mt-1" title="Add Follow Up">
|
||
|
<em class="icon ni ni-plus-sm"></em> <span> Add Follow Up</span> @if(!empty($registration->getFollowUpCount($registration->id))) ({{$registration->getFollowUpCount($registration->id)->count()}}) @endif
|
||
|
</a>
|
||
|
</li>
|
||
|
<li>
|
||
|
<a href="javascript: void(0);" data-registration_id="{{$registration->id}}" class="btn btn-info btn-sm sendsms mt-1" title="Add Follow Up">
|
||
|
<em class="icon ni ni-msg"></em> <span> Send SMS</span>
|
||
|
</a>
|
||
|
</li>
|
||
|
<li>
|
||
|
<a href="javascript: void(0);" data-registration_id="{{$registration->id}}" class="btn btn-warning btn-sm btn-leadcategory mt-1" title="Add Lead Category">
|
||
|
<em class="icon ni ni-grid-alt"></em> <span>Lead Category</span>
|
||
|
</a>
|
||
|
</li>
|
||
|
|
||
|
</ul>
|
||
|
|
||
|
{{-- @if($registration->enroll($registration->id) == null)
|
||
|
<a href="#">
|
||
|
<button type="button" class="btn btn-purple btn-sm btn-icon-toggle mt-1" onclick="proceedThis(this); return false;" link="{{ route('registration.proceed_for_admission', $registration->id) }}">
|
||
|
Proceed To Enroll
|
||
|
</button>
|
||
|
</a>
|
||
|
@endif --}}
|
||
|
|
||
|
|
||
|
</td>
|
||
|
</tr>
|
||
|
|
||
|
|