full dynamic transaction show page

This commit is contained in:
Cüneyt Şentürk 2021-06-25 09:44:30 +03:00
parent d3f82863f5
commit c20aa55a80
5 changed files with 676 additions and 334 deletions

File diff suppressed because it is too large Load Diff

View File

@ -163,6 +163,7 @@ abstract class TransactionTemplate extends Base
/** @var string */
public $routeDocumentShow;
/**
* Create a new component instance.
*

View File

@ -28,6 +28,56 @@
:transaction="$transaction"
transaction-template="{{ $transactionTemplate }}"
logo="{{ $logo }}"
hide-company="{{ $hideCompany }}"
hide-company-logo="{{ $hideCompanyLogo }}"
hide-company-details="{{ $hideCompanyDetails }}"
hide-company-name="{{ $hideCompanyName }}"
hide-company-address="{{ $hideCompanyAddress }}"
hide-company-tax-number="{{ $hideCompanyTaxNumber }}"
hide-company-phone="{{ $hideCompanyPhone }}"
hide-company-email="{{ $hideCompanyEmail }}"
hide-content-title="{{ $hideContentTitle }}"
hide-paid-at="{{ $hidePaidAt }}"
hide-account="{{ $hideAccount }}"
hide-category="{{ $hideCategory }}"
hide-payment-methods="{{ $hidePaymentMethods }}"
hide-reference="{{ $hideReference }}"
hide-description="{{ $hideDescription }}"
hide-amount="{{ $hideAmount }}"
text-content-title="{{ $textContentTitle }}"
text-paid-at="{{ $textPaidAt }}"
text-account="{{ $textAccount }}"
text-category="{{ $textCategory }}"
text-payment-methods="{{ $textPaymentMethods }}"
text-reference="{{ $textReference }}"
text-description="{{ $textDescription }}"
text-paid-by="{{ $textAmount }}"
hide-contact="{{ $hideContact }}"
hide-contact-info="{{ $hideContactInfo }}"
hide-contact-name="{{ $hideContactName }}"
hide-contact-address="{{ $hideContactAddress }}"
hide-contact-tax-number="{{ $hideContactTaxNumber }}"
hide-contact-phone="{{ $hideContactPhone }}"
hide-contact-email="{{ $hideContactEmail }}"
hide-releated="{{ $hideReletad }}"
hide-releated-document-number="{{ $hideReletadDocumentNumber }}"
hide-releated-contact="{{ $hideReletadContact }}"
hide-releated-document-date="{{ $hideReletadDocumentDate }}"
hide-releated-document-amount="{{ $hideReletadDocumentAmount }}"
hide-releated-amount="{{ $hideReletadAmount }}"
text-releated-transaction="{{ $textReleatedTransansaction }}"
text-releated-document-number="{{ $textReleatedDocumentNumber }}"
text-releated-contact="{{ $textReleatedContact }}"
text-releated-document-date="{{ $textReleatedDocumentDate }}"
text-releated-document-amount="{{ $textReleatedDocumentAmount }}"
text-releated-amount="{{ $textReleatedAmount }}"
route-document-show="{{ $routeDocumentShow }}"
/>
@stack('transaction_end')

View File

@ -2,7 +2,7 @@
@stack('header_account_start')
@if (!$hideHeaderAccount)
<div class="{{ $classHeaderAccount }}">
{{ trans_choice('general.accounts', 1) }}
{{ trans_choice($textHeaderAccount, 1) }}
<br>
<strong>
@ -18,7 +18,7 @@
@stack('header_category_start')
@if (!$hideHeaderCategory)
<div class="{{ $classHeaderCategory }}">
{{ trans_choice('general.categories', 1) }}
{{ trans_choice($textHeaderCategory, 1) }}
<br>
<strong>

View File

@ -3,7 +3,7 @@
@section('title', trans('invoices.payment_made'))
@section('new_button')
<x-transactions.show.top-buttons type="expense" :transaction="$payment" hide-button-share />
<x-transactions.show.top-buttons type="expense" :transaction="$payment" hide-button-share hide-button-email />
@endsection
@section('content')