Current File : /home/tradevaly/new.tradevaly.com.bd/resources/views/user/pages/certificate.blade.php |
@extends('user.ayaan.master')
@push('style')
@endpush
@section('content')
<div class="container-fluid">
<div class="row">
<div class="col-md-12">
<div class="card">
<div class="card-header card-header-info card-header-icon">
<h4 class="card-title">Company Certificate</h4>
<a class="btn btn-success rounded float-right" href="{{url('user/certificate/add')}}">ADD NEW</a>
</div>
<div class="card-body">
<div class="table-responsive">
<table class="table">
<thead>
<tr>
<th class="text-center">#</th>
<th>Image</th>
<th>Name</th>
<th class="text-right">Actions</th>
</tr>
</thead>
<tbody>
@php
$i = 0;
@endphp
@foreach ($certificates as $pdf)
<tr>
<?php $i++; ?>
<td class="text-center">{{$i}}</td>
<td><img style="height: 80px; width:150px; border-radius:10%;" src="{{asset('storage/images/user/certificate/'.$pdf['image'])}}" alt=""></td>
<td>{{$pdf['name']}}</td>
<td class="td-actions text-right">
<a href="{{url('user/certificate/delete',$pdf->id)}}" name="category" class="btn btn-danger confirmDelete" title="Delete" style="color: #fff">
Delete
</a>
</td>
</tr>
@endforeach
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
@stop
@push('script')
@endpush