@extends('layouts.partials.master') @section('title', 'Encomendas') @push('styles') @endpush @section('content') @include('layouts.components.section-title', ['title' => 'Pontos']) {{-- filters - start --}}
| ID | Nº Encomenda | Valor da Compra | Pontos Acumulados | Voucher | Razão | Utilizador | Data | ||
|---|---|---|---|---|---|---|---|---|---|
| {{ $point->id }} |
@if ($point->order_id)
{{ $point->order->order_code }}
@else
-
@endif
@if ($point->store_id)
Loja: {{ $point->store->commercial_name }} @endif |
@if ($point->order_id && $point->store_id) @formatEuro($point->order->total_paid_per_store[$point->store_id]) @else - @endif |
@if($point->points_earned)
+ {{ $point->points_earned }}
@if($point->expired)
(expirado) @endif @elseif($point->points_spent) - {{ $point->points_spent }} @elseif($point->points_expired) - {{ $point->points_expired }} @endif |
@if ($point->voucher_id) {{ $point->voucher->code }} @else - @endif | {{ $point->reason }} | @if ($point->userDetails && !$point->userDetails->trashed()) {{ $point->user->full_name }} @elseif($point->userDetails) {{ $point->user->full_name }} (excluído) @endif | {{ $point->updated_at->format('d/m/Y H:i')}} | ||
|
{{ __('translations.no_results') }} |
|||||||||