@extends('_layout.layout') @section('title') {{$apiUser->firstname}} {{$apiUser->lastname}} Purchases @endsection @section('header')

{{$apiUser->company->name}} Customer Purchases - {{$apiUser->firstname.' '.$apiUser->lastname}}

@endsection @section('content')
Purchases
@if ($purchases->count()>0) @if (auth()->user()->role==\App\PlatformUser::ROLE_DEVELOPER) @endif @foreach($purchases as $pRequest) @if (auth()->user()->role==\App\PlatformUser::ROLE_DEVELOPER) @endif @endforeach
Platform Type Amount Transaction ID Date Platform Product ID Platform Product NameActions
{{\App\Licence::getPlatformName($pRequest->platform)}} {{\App\PurchaseRequest::getTypeDescription($pRequest->type)}} {{$pRequest->amount}} {{$pRequest->transaction_id}} {{$pRequest->created_at}} {{$pRequest->product_id}} {{$pRequest->product_name}}Check receipt
@if ($purchases->lastPage()>1)
{{ $purchases->links() }}
@endif @else No data @endif
@endsection @section('page-script') @endsection @section('page-css') @endsection