index.blade.php 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. @extends('backend.layouts.app')
  2. @section('content')
  3. <div class="aiz-titlebar mt-2 mb-3">
  4. <div class="row align-items-center">
  5. <!--<div class="col-md-6">-->
  6. <!-- <h1 class="h3">{{translate('All Seller Packages')}}</h1>-->
  7. <!--</div>-->
  8. <div class="col-md-6 text-md-left">
  9. <a href="{{ route('seller_packages.create') }}" class="btn btn-circle btn-info">
  10. <span>{{translate('Add New Package')}}</span>
  11. </a>
  12. </div>
  13. </div>
  14. </div>
  15. <div class="row">
  16. @foreach ($seller_packages as $key => $seller_package)
  17. <div class="col-lg-4 col-md-4 col-sm-12">
  18. <div class="card">
  19. <div class="card-body text-center">
  20. <img alt="{{ translate('Package Logo')}}" src="{{ uploaded_asset($seller_package->logo) }}" class="mw-100 mx-auto mb-4" height="150px">
  21. <p class="mb-3 h6 fw-600">{{ $seller_package->getTranslation('name') }}</p>
  22. <p class="h4">{{single_price($seller_package->amount)}}</p>
  23. <p class="fs-15">{{translate('Product Upload Limit') }}:
  24. <b class="text-bold">{{$seller_package->product_upload_limit}}</b>
  25. </p>
  26. <p class="fs-15">{{translate('Package Duration') }}:
  27. <b class="text-bold">{{$seller_package->duration}} {{translate('days')}}</b>
  28. </p>
  29. <p class="fs-15">{{translate('Max profit') }}:
  30. <b class="text-bold">{{$seller_package->max_profit}}%</b>
  31. </p>
  32. <div class="mar-top">
  33. @if( $seller_package->is_default)
  34. <a href="javascript:;" class="btn btn-sm btn-success">{{translate('Is Default')}}√ </a>
  35. @else
  36. <a href="{{route('seller_packages.set_default', ['id'=>$seller_package->id, 'lang'=>env('DEFAULT_LANGUAGE')] )}}" class="btn btn-sm btn-info">{{translate('Set Default')}} </a>
  37. @endif
  38. <a href="{{route('seller_packages.edit', ['id'=>$seller_package->id, 'lang'=>env('DEFAULT_LANGUAGE')] )}}" class="btn btn-sm btn-info">{{translate('Edit')}}</a>
  39. <a href="#" data-href="{{route('seller_packages.destroy', $seller_package->id)}}" class="btn btn-sm btn-danger confirm-delete">{{translate('Delete')}}</a>
  40. </div>
  41. </div>
  42. </div>
  43. </div>
  44. @endforeach
  45. </div>
  46. @endsection
  47. @section('modal')
  48. @include('modals.delete_modal')
  49. @endsection