Current File : //home/tradevaly/public_html/resources/views/user/pages/subs.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">My Subscription</h4>
</div>
<div class="card-body">
<div class="table-responsive">
<table class="table">
<thead>
<tr>
<th>Title</th>
<th>Badge</th>
<th>Start Date</th>
<th>Expiring</th>
<th>Action</th>
</tr>
</thead>
<tbody>
<tr>
<td>{{ $package->name }}</td>
<td><img src="{{asset('storage/images/admin/package/'.$package['image'])}}"
width="138" height="44" alt="{{ $package['details'] }}" class="lazy"
style=""></td>
<td>{{date('Y-m-d', strtotime(Auth::user()->created_at))}}</td>
<td>{{ Auth::user()->package_id == 1 ? 'Unlimited':Auth::user()->next_pay}}</td>
<td>
<a href="{{ route('user.changeplan') }}">
<span class="btn btn-info">Up/Down</span>
</a>
<a href="{{ route('user.renew') }}">
<span class="btn btn-success">Renew</span>
</a>
@if(Auth::user()->package_id != 1)
<a class="btn btn-primary" href="{{ route('user.subscription.invoice') }}">
Invoice
</a>
<a class="btn btn-warning"
href="{{ route('user.subscription.money_receipt') }}">
Money Receipt
</a>
@endif
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
@stop
@push('script')
@endpush