removed transactions from portal

This commit is contained in:
denisdulici
2019-11-30 02:08:25 +03:00
parent 3d48bf4345
commit 7b13b79c27
10 changed files with 23 additions and 165 deletions

View File

@@ -1,6 +1,6 @@
@extends('layouts.portal')
@section('title', trans_choice('general.payments', 1))
@section('title', trans_choice('general.payments', 2))
@section('content')
<div class="card">
@@ -28,8 +28,8 @@
<tr class="row table-head-line">
<th class="col-xs-3 col-sm-3">@sortablelink('paid_at', trans('general.date'))</th>
<th class="col-xs-3 col-sm-3">@sortablelink('amount', trans('general.amount'))</th>
<th class="col-sm-3 hidden-sm">@sortablelink('category.name', trans_choice('general.categories', 1))</th>
<th class="col-xs-6 col-sm-3">@sortablelink('payment_method', trans_choice('general.payment_methods', 1))</th>
<th class="col-sm-3 hidden-sm">@sortablelink('description', trans('general.description'))</th>
</tr>
</thead>
@@ -38,8 +38,8 @@
<tr class="row align-items-center border-top-1">
<td class="col-xs-3 col-sm-3"><a class="text-success" href="{{ route('portal.payments.show', $item->id) }}">@date($item->paid_at)</a></td>
<td class="col-xs-3 col-sm-3">@money($item->amount, $item->currency_code, true)</td>
<td class="col-sm-3 hidden-sm">{{ $item->category ? $item->category->name : trans('general.na') }}</td>
<td class="col-xs-6 col-sm-3">{{ $payment_methods[$item->payment_method] }}</td>
<td class="col-sm-3 hidden-sm">{{ $item->description }}</td>
</tr>
@endforeach
</tbody>