@use('App\Services\Date') @extends('companyuser::layouts.master') @section('title', __('purchases::transactions.purchase_transactions')) @section('extra-styles') @endsection @push('extra_scripts') @endpush @section('breadcrumb')
@endsection @section('content')| @lang('purchases::transactions.Reference ID') | @lang('purchases::transactions.type') | @lang('purchases::transactions.Supplier') | @lang('purchases::transactions.Date') | @lang('purchases::transactions.status') | @lang('products::cost_center.Cost Center') | @lang('purchases::transactions.Amount') | @lang('purchases::transactions.outstanding') | @lang('purchases::transactions.Supplier Invoice Reference Number') |
|---|---|---|---|---|---|---|---|---|
| route_name}.show", ['subdomain' => $subdomain, "{$transaction->routeVariableName}" => $transaction->id])}}">{{$transaction->reference}} | {{ $transaction->transactionType }} | @if (!is_null($transaction->{$transaction->userType})) {$transaction->userType}->deleted_at)) href="{{route("company.{$transaction->userType}s.show", ['subdomain' => $subdomain, "{$transaction->userType}" => $transaction->{$transaction->userType}->id])}}" @endif> {{ $transaction->{$transaction->userType}->name}} @endif | {{$transaction->date}}{{ Date::format($transaction->date, 'date') }} | {{ $transaction->status ? Modules\Purchases\Enums\BillStatusEnum::toString($transaction->status) : ($transaction->kind ? Modules\Purchases\Enums\PaymentReceiptTypesEnum::toString($transaction->kind) : '') }} | {{$costCenter?$costCenter['code'] . ' - ' . $costCenter['name_' . app()->getLocale()]: __('products::cost_center.main center')}} | {{ ($transaction->total < 0 ) ? '(' . number_format(abs($transaction->total ),2,".",",") . ')' : number_format($transaction->total,2,".",",") }} | {{ ($transaction->outstanding < 0 ) ? '(' . number_format(abs($transaction->outstanding ),2,".",",") . ')' : number_format($transaction->outstanding,2,".",",") }} | {{ $transaction->supplier_invoice_reference_number }} |