Current File : //home/tradevaly/prioyshi.com/project/resources/views/user/package/index.blade.php |
@extends('layouts.front')
@section('content')
<section class="user-dashbord">
<div class="container">
<div class="row">
@include('includes.user-dashboard-sidebar')
<div class="col-lg-8">
<div class="user-profile-details">
@include('includes.form-success')
@php
if (session()->has('currency'))
{
$currency = DB::table('currencies')->where('id',session()->get('currency'))->first();
}
else
{
$currency = DB::table('currencies')->where('is_default',1)->first();
}
@endphp
<div class="row">
@foreach($subs as $sub)
<div class="col-lg-6">
<div class="elegant-pricing-tables style-2 text-center">
<div class="pricing-head">
<h3>{{ $sub->title }}</h3>
@if($sub->price == 0)
<span class="price">
<span class="price-digit">{{ $langg->lang402 }}</span>
</span>
@else
<span class="price">
<sup>{{ $currency->sign }}</sup>
<span class="price-digit">{{$sub->convertedUserPrice($sub->price)}}</span><br>
<span class="price-month">{{ $sub->days }} {{ $langg->lang403 }}</span>
</span>
@endif
</div>
<div class="pricing-detail">
{!! $sub->details !!}
</div>
@if(!empty($package))
@if($package->subscription_id == $sub->id)
<a href="javascript:;" class="btn btn-default">{{ $langg->lang404 }}</a>
<br>
@if(Carbon\Carbon::now()->format('Y-m-d') > $user->date)
<small class="hover-white">{{ $langg->lang405 }} {{ date('d/m/Y',strtotime($user->date)) }}</small>
@else
<small class="hover-white">{{ $langg->lang406 }} {{ date('d/m/Y',strtotime($user->date)) }}</small>
@endif
<a href="{{route('user-vendor-request',$sub->id)}}" class="hover-white"><u>{{ $langg->lang407 }}</u></a>
@else
<a href="{{route('user-vendor-request',$sub->id)}}" class="btn btn-default">{{ $langg->lang408 }}</a>
<br><small> </small>
@endif
@else
<a href="{{route('user-vendor-request',$sub->id)}}" class="btn btn-default">{{ $langg->lang408 }}</a>
<br><small> </small>
@endif
{{-- <a href="#" class="btn btn-default">Get Started Now</a> --}}
</div>
</div>
@endforeach
</div>
</div>
</div>
</div>
</div>
</section>
@endsection