Raffales-LMS/resources/views/officevisit/partials/table.blade.php
2024-04-16 15:43:24 +05:45

27 lines
1.4 KiB
PHP

<tr>
<td>{{++$key}}</td>
<td>{{ Str::limit($campaign->name, 47) }}</td>
<td>
<img src="{{asset($campaign->thumbnail_path)}}" class="img-circle width-1" alt="{{$campaign->name}}" width="50" height="50">
</td>
{{-- <td>{{ Str::limit($campaign->details, 47) }}</td> --}}
<td>{{ Str::limit($campaign->starts, 47) }}</td>
<td>{{ Str::limit($campaign->ends, 47) }}</td>
<td>
{{ $campaign->alias }}
<button type="button" class="btn btn-sm btn-color-primary btn-hover-primary btn-icon btn-soft btn-editCanvas btn-alias-edit" data-alias="{{$campaign->alias}}" data-campaign_id={{$campaign->id}} data-original-title="Edit"><em class="icon ni ni-edit"></em></button>
</td>
<td>
<ul class="d-flex flex-wrap ">
<li><a class="btn btn-sm btn-color-primary btn-hover-primary btn-icon btn-soft btn-editCanvas" name="" href="{{route('campaign.edit', $campaign->id)}}"> <em class="icon ni ni-edit"></em></a></li>
<li><a href="#">
<button type="button" onclick="deleteThis(this); return false;" link="{{ route('campaign.destroy', $campaign->id) }}" class="btn btn-sm btn-color-danger btn-hover-danger btn-delete btn-icon btn-soft" data-toggle="tooltip" id="sa-warning" data-placement="top" data-original-title="Delete"><em class="icon ni ni-trash"></em></button>
</a></li>
</ul>
</td>
</tr>