@extends('partner.layouts.default') @section('page_title', trans('common.voucher') . ' ' . trans('common.analytics') . config('default.page_title_delimiter') . config('default.app_name')) @section('content')
{{-- Page Header --}}
{{-- Cards Grid --}}
@foreach($vouchers as $voucher)
  • {{ trans('common.views') }}

    {{ trans('common.last_view') }}: {{ ($voucher->last_view) ? $voucher->last_view->diffForHumans() : trans('common.never') }}

    {{ $voucher->views ?? 0 }}
  • {{ trans('common.times_used') }}

    {{ $voucher->times_used ?? 0 }}
  • {{ trans('common.total_discount_given') }}

    {{ moneyFormat($voucher->total_discount_given / 100, auth('partner')->user()->currency) }}
  • {{ trans('common.unique_members') }}

    {{ $voucher->unique_members_used ?? 0 }}
@endforeach
@stop