@extends('layouts.app') @section('template_title') Список счетов @endsection @section('content')
| @lang('usersmanagement.users-table.id') | Счёт | Клиент | Сумма | Оплачен | Создан | Обновлён | ИДЕНТИФИКАТОР ПЛАТЕЖА | Действия | |
|---|---|---|---|---|---|---|---|---|---|
| {{$invoice->id}} | {{ str_replace('Счёт ', '', $invoice->title)}} | {{ !empty($invoice->user) ? $invoice->user->last_name :''}} {{ !empty($invoice->user) ? $invoice->user->first_name : ''}} | {{ !empty($invoice->user) ? $invoice->user->email: ''}} | {{$invoice->price}} |
@if ($invoice->paid) @php $badgeClass = 'success' @endphp @else @php $badgeClass = 'warning' @endphp @endif {{$invoice->paid ? 'Да': 'Нет'}} | {{$invoice->created_at }} | {{$invoice->updated_at }} | {{$invoice->invoiceId }} | @lang('usersmanagement.buttons.show') |