Merge pull request #2318 from sevannerse/fixed-typo

fixed typo
This commit is contained in:
Cüneyt Şentürk 2021-11-23 09:01:52 +03:00 committed by GitHub
commit 21bf4a6836
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 137 additions and 137 deletions

View File

@ -257,40 +257,40 @@ abstract class TransactionShow extends Base
public $hideContactEmail; public $hideContactEmail;
/** @var bool */ /** @var bool */
public $hideReletad; public $hideRelated;
/** @var bool */ /** @var bool */
public $hideReletadDocumentNumber; public $hideRelatedDocumentNumber;
/** @var bool */ /** @var bool */
public $hideReletadContact; public $hideRelatedContact;
/** @var bool */ /** @var bool */
public $hideReletadDocumentDate; public $hideRelatedDocumentDate;
/** @var bool */ /** @var bool */
public $hideReletadDocumentAmount; public $hideRelatedDocumentAmount;
/** @var bool */ /** @var bool */
public $hideReletadAmount; public $hideRelatedAmount;
/** @var string */ /** @var string */
public $textReleatedTransansaction; public $textRelatedTransansaction;
/** @var string */ /** @var string */
public $textReleatedDocumentNumber; public $textRelatedDocumentNumber;
/** @var string */ /** @var string */
public $textReleatedContact; public $textRelatedContact;
/** @var string */ /** @var string */
public $textReleatedDocumentDate; public $textRelatedDocumentDate;
/** @var string */ /** @var string */
public $textReleatedDocumentAmount; public $textRelatedDocumentAmount;
/** @var string */ /** @var string */
public $textReleatedAmount; public $textRelatedAmount;
/** @var string */ /** @var string */
public $routeDocumentShow; public $routeDocumentShow;
@ -346,8 +346,8 @@ abstract class TransactionShow extends Base
string $textAmount = '', string $textPaidBy = '', string $textAmount = '', string $textPaidBy = '',
bool $hideContact = false, bool $hideContactInfo = false, bool $hideContactName = false, bool $hideContactAddress = false, bool $hideContactTaxNumber = false, bool $hideContact = false, bool $hideContactInfo = false, bool $hideContactName = false, bool $hideContactAddress = false, bool $hideContactTaxNumber = false,
bool $hideContactPhone = false, bool $hideContactEmail = false, bool $hideContactPhone = false, bool $hideContactEmail = false,
bool $hideReletad = false, bool $hideReletadDocumentNumber = false, bool $hideReletadContact = false, bool $hideReletadDocumentDate = false, bool $hideReletadDocumentAmount = false, bool $hideReletadAmount = false, bool $hideRelated = false, bool $hideRelatedDocumentNumber = false, bool $hideRelatedContact = false, bool $hideRelatedDocumentDate = false, bool $hideRelatedDocumentAmount = false, bool $hideRelatedAmount = false,
string $textReleatedTransansaction = '', string $textReleatedDocumentNumber = '', string $textReleatedContact = '', string $textReleatedDocumentDate = '', string $textReleatedDocumentAmount = '', string $textReleatedAmount = '', string $textRelatedTransansaction = '', string $textRelatedDocumentNumber = '', string $textRelatedContact = '', string $textRelatedDocumentDate = '', string $textRelatedDocumentAmount = '', string $textRelatedAmount = '',
string $routeDocumentShow = '', string $routeDocumentShow = '',
bool $hideAttachment = false, $attachment = [], bool $hideAttachment = false, $attachment = [],
@ -464,21 +464,21 @@ abstract class TransactionShow extends Base
$this->hideContactPhone = $hideContactPhone; $this->hideContactPhone = $hideContactPhone;
$this->hideContactEmail = $hideContactEmail; $this->hideContactEmail = $hideContactEmail;
// Releated Information Hide checker // Related Information Hide checker
$this->hideReletad = $hideReletad; $this->hideRelated = $hideRelated;
$this->hideReletadDocumentNumber = $hideReletadDocumentNumber; $this->hideRelatedDocumentNumber = $hideRelatedDocumentNumber;
$this->hideReletadContact = $hideReletadContact; $this->hideRelatedContact = $hideRelatedContact;
$this->hideReletadDocumentDate = $hideReletadDocumentDate; $this->hideRelatedDocumentDate = $hideRelatedDocumentDate;
$this->hideReletadDocumentAmount = $hideReletadDocumentAmount; $this->hideRelatedDocumentAmount = $hideRelatedDocumentAmount;
$this->hideReletadAmount = $hideReletadAmount; $this->hideRelatedAmount = $hideRelatedAmount;
// Releated Information Text // Related Information Text
$this->textReleatedTransansaction = $this->getTextReleatedTransansaction($type, $textReleatedTransansaction); $this->textRelatedTransansaction = $this->getTextRelatedTransansaction($type, $textRelatedTransansaction);
$this->textReleatedDocumentNumber = $this->getTextReleatedDocumentNumber($type, $textReleatedDocumentNumber); $this->textRelatedDocumentNumber = $this->getTextRelatedDocumentNumber($type, $textRelatedDocumentNumber);
$this->textReleatedContact = $this->getTextReleatedContact($type, $textReleatedContact); $this->textRelatedContact = $this->getTextRelatedContact($type, $textRelatedContact);
$this->textReleatedDocumentDate = $this->getTextReleatedDocumentDate($type, $textReleatedDocumentDate); $this->textRelatedDocumentDate = $this->getTextRelatedDocumentDate($type, $textRelatedDocumentDate);
$this->textReleatedDocumentAmount = $this->getTextReleatedDocumentAmount($type, $textReleatedDocumentAmount); $this->textRelatedDocumentAmount = $this->getTextRelatedDocumentAmount($type, $textRelatedDocumentAmount);
$this->textReleatedAmount = $this->getTextReleatedAmount($type, $textReleatedAmount); $this->textRelatedAmount = $this->getTextRelatedAmount($type, $textRelatedAmount);
$this->routeDocumentShow = $this->routeDocumentShow($type, $routeDocumentShow); $this->routeDocumentShow = $this->routeDocumentShow($type, $routeDocumentShow);
@ -1093,10 +1093,10 @@ abstract class TransactionShow extends Base
return 'revenues.paid_by'; return 'revenues.paid_by';
} }
protected function getTextReleatedTransansaction($type, $textReleatedTransansaction) protected function getTextRelatedTransansaction($type, $textRelatedTransansaction)
{ {
if (!empty($textReleatedTransansaction)) { if (!empty($textRelatedTransansaction)) {
return $textReleatedTransansaction; return $textRelatedTransansaction;
} }
switch ($type) { switch ($type) {
@ -1119,10 +1119,10 @@ abstract class TransactionShow extends Base
return 'revenues.related_invoice'; return 'revenues.related_invoice';
} }
protected function getTextReleatedDocumentNumber($type, $textReleatedDocumentNumber) protected function getTextRelatedDocumentNumber($type, $textRelatedDocumentNumber)
{ {
if (!empty($textReleatedDocumentNumber)) { if (!empty($textRelatedDocumentNumber)) {
return $textReleatedDocumentNumber; return $textRelatedDocumentNumber;
} }
$translation = $this->getTextFromConfig($type, 'related_document_number', 'numbers'); $translation = $this->getTextFromConfig($type, 'related_document_number', 'numbers');
@ -1134,10 +1134,10 @@ abstract class TransactionShow extends Base
return 'general.numbers'; return 'general.numbers';
} }
protected function getTextReleatedContact($type, $textReleatedContact) protected function getTextRelatedContact($type, $textRelatedContact)
{ {
if (!empty($textReleatedContact)) { if (!empty($textRelatedContact)) {
return $textReleatedContact; return $textRelatedContact;
} }
$default_key = Str::plural(config('type.' . $type . '.contact_type'), 2); $default_key = Str::plural(config('type.' . $type . '.contact_type'), 2);
@ -1151,10 +1151,10 @@ abstract class TransactionShow extends Base
return 'general.customers'; return 'general.customers';
} }
protected function getTextReleatedDocumentDate($type, $textReleatedDocumentDate) protected function getTextRelatedDocumentDate($type, $textRelatedDocumentDate)
{ {
if (!empty($textReleatedDocumentDate)) { if (!empty($textRelatedDocumentDate)) {
return $textReleatedDocumentDate; return $textRelatedDocumentDate;
} }
switch ($type) { switch ($type) {
@ -1177,10 +1177,10 @@ abstract class TransactionShow extends Base
return 'invoices.invoice_date'; return 'invoices.invoice_date';
} }
protected function getTextReleatedDocumentAmount($type, $textReleatedDocumentAmount) protected function getTextRelatedDocumentAmount($type, $textRelatedDocumentAmount)
{ {
if (!empty($textReleatedDocumentAmount)) { if (!empty($textRelatedDocumentAmount)) {
return $textReleatedDocumentAmount; return $textRelatedDocumentAmount;
} }
switch ($type) { switch ($type) {
@ -1203,10 +1203,10 @@ abstract class TransactionShow extends Base
return 'general.amount'; return 'general.amount';
} }
protected function getTextReleatedAmount($type, $textReleatedAmount) protected function getTextRelatedAmount($type, $textRelatedAmount)
{ {
if (!empty($textReleatedAmount)) { if (!empty($textRelatedAmount)) {
return $textReleatedAmount; return $textRelatedAmount;
} }
$translation = $this->getTextFromConfig($type, 'related_amount', 'amount'); $translation = $this->getTextFromConfig($type, 'related_amount', 'amount');

View File

@ -126,40 +126,40 @@ abstract class TransactionTemplate extends Base
public $hideContactEmail; public $hideContactEmail;
/** @var bool */ /** @var bool */
public $hideReletad; public $hideRelated;
/** @var bool */ /** @var bool */
public $hideReletadDocumentNumber; public $hideRelatedDocumentNumber;
/** @var bool */ /** @var bool */
public $hideReletadContact; public $hideRelatedContact;
/** @var bool */ /** @var bool */
public $hideReletadDocumentDate; public $hideRelatedDocumentDate;
/** @var bool */ /** @var bool */
public $hideReletadDocumentAmount; public $hideRelatedDocumentAmount;
/** @var bool */ /** @var bool */
public $hideReletadAmount; public $hideRelatedAmount;
/** @var string */ /** @var string */
public $textReleatedTransansaction; public $textRelatedTransansaction;
/** @var string */ /** @var string */
public $textReleatedDocumentNumber; public $textRelatedDocumentNumber;
/** @var string */ /** @var string */
public $textReleatedContact; public $textRelatedContact;
/** @var string */ /** @var string */
public $textReleatedDocumentDate; public $textRelatedDocumentDate;
/** @var string */ /** @var string */
public $textReleatedDocumentAmount; public $textRelatedDocumentAmount;
/** @var string */ /** @var string */
public $textReleatedAmount; public $textRelatedAmount;
/** @var string */ /** @var string */
public $routeDocumentShow; public $routeDocumentShow;
@ -179,8 +179,8 @@ abstract class TransactionTemplate extends Base
string $textAmount = '', string $textPaidBy = '', string $textAmount = '', string $textPaidBy = '',
bool $hideContact = false, bool $hideContactInfo = false, bool $hideContactName = false, bool $hideContactAddress = false, bool $hideContactTaxNumber = false, bool $hideContact = false, bool $hideContactInfo = false, bool $hideContactName = false, bool $hideContactAddress = false, bool $hideContactTaxNumber = false,
bool $hideContactPhone = false, bool $hideContactEmail = false, bool $hideContactPhone = false, bool $hideContactEmail = false,
bool $hideReletad = false, bool $hideReletadDocumentNumber = false, bool $hideReletadContact = false, bool $hideReletadDocumentDate = false, bool $hideReletadDocumentAmount = false, bool $hideReletadAmount = false, bool $hideRelated = false, bool $hideRelatedDocumentNumber = false, bool $hideRelatedContact = false, bool $hideRelatedDocumentDate = false, bool $hideRelatedDocumentAmount = false, bool $hideRelatedAmount = false,
string $textReleatedTransansaction = '', string $textReleatedDocumentNumber = '', string $textReleatedContact = '', string $textReleatedDocumentDate = '', string $textReleatedDocumentAmount = '', string $textReleatedAmount = '', string $textRelatedTransansaction = '', string $textRelatedDocumentNumber = '', string $textRelatedContact = '', string $textRelatedDocumentDate = '', string $textRelatedDocumentAmount = '', string $textRelatedAmount = '',
string $routeDocumentShow = '' string $routeDocumentShow = ''
) { ) {
$this->type = $type; $this->type = $type;
@ -229,21 +229,21 @@ abstract class TransactionTemplate extends Base
$this->hideContactPhone = $hideContactPhone; $this->hideContactPhone = $hideContactPhone;
$this->hideContactEmail = $hideContactEmail; $this->hideContactEmail = $hideContactEmail;
// Releated Information Hide checker // Related Information Hide checker
$this->hideReletad = $hideReletad; $this->hideRelated = $hideRelated;
$this->hideReletadDocumentNumber = $hideReletadDocumentNumber; $this->hideRelatedDocumentNumber = $hideRelatedDocumentNumber;
$this->hideReletadContact = $hideReletadContact; $this->hideRelatedContact = $hideRelatedContact;
$this->hideReletadDocumentDate = $hideReletadDocumentDate; $this->hideRelatedDocumentDate = $hideRelatedDocumentDate;
$this->hideReletadDocumentAmount = $hideReletadDocumentAmount; $this->hideRelatedDocumentAmount = $hideRelatedDocumentAmount;
$this->hideReletadAmount = $hideReletadAmount; $this->hideRelatedAmount = $hideRelatedAmount;
// Releated Information Text // Related Information Text
$this->textReleatedTransansaction = $this->getTextReleatedTransansaction($type, $textReleatedTransansaction); $this->textRelatedTransansaction = $this->getTextRelatedTransansaction($type, $textRelatedTransansaction);
$this->textReleatedDocumentNumber = $this->getTextReleatedDocumentNumber($type, $textReleatedDocumentNumber); $this->textRelatedDocumentNumber = $this->getTextRelatedDocumentNumber($type, $textRelatedDocumentNumber);
$this->textReleatedContact = $this->getTextReleatedContact($type, $textReleatedContact); $this->textRelatedContact = $this->getTextRelatedContact($type, $textRelatedContact);
$this->textReleatedDocumentDate = $this->getTextReleatedDocumentDate($type, $textReleatedDocumentDate); $this->textRelatedDocumentDate = $this->getTextRelatedDocumentDate($type, $textRelatedDocumentDate);
$this->textReleatedDocumentAmount = $this->getTextReleatedDocumentAmount($type, $textReleatedDocumentAmount); $this->textRelatedDocumentAmount = $this->getTextRelatedDocumentAmount($type, $textRelatedDocumentAmount);
$this->textReleatedAmount = $this->getTextReleatedAmount($type, $textReleatedAmount); $this->textRelatedAmount = $this->getTextRelatedAmount($type, $textRelatedAmount);
$this->routeDocumentShow = $this->routeDocumentShow($type, $routeDocumentShow); $this->routeDocumentShow = $this->routeDocumentShow($type, $routeDocumentShow);
} }
@ -459,10 +459,10 @@ abstract class TransactionTemplate extends Base
return 'revenues.paid_by'; return 'revenues.paid_by';
} }
protected function getTextReleatedTransansaction($type, $textReleatedTransansaction) protected function getTextRelatedTransansaction($type, $textRelatedTransansaction)
{ {
if (!empty($textReleatedTransansaction)) { if (!empty($textRelatedTransansaction)) {
return $textReleatedTransansaction; return $textRelatedTransansaction;
} }
switch ($type) { switch ($type) {
@ -485,10 +485,10 @@ abstract class TransactionTemplate extends Base
return 'revenues.related_invoice'; return 'revenues.related_invoice';
} }
protected function getTextReleatedDocumentNumber($type, $textReleatedDocumentNumber) protected function getTextRelatedDocumentNumber($type, $textRelatedDocumentNumber)
{ {
if (!empty($textReleatedDocumentNumber)) { if (!empty($textRelatedDocumentNumber)) {
return $textReleatedDocumentNumber; return $textRelatedDocumentNumber;
} }
$translation = $this->getTextFromConfig($type, 'related_document_number', 'numbers'); $translation = $this->getTextFromConfig($type, 'related_document_number', 'numbers');
@ -500,10 +500,10 @@ abstract class TransactionTemplate extends Base
return 'general.numbers'; return 'general.numbers';
} }
protected function getTextReleatedContact($type, $textReleatedContact) protected function getTextRelatedContact($type, $textRelatedContact)
{ {
if (!empty($textReleatedContact)) { if (!empty($textRelatedContact)) {
return $textReleatedContact; return $textRelatedContact;
} }
$default_key = Str::plural(config('type.' . $type . '.contact_type'), 2); $default_key = Str::plural(config('type.' . $type . '.contact_type'), 2);
@ -517,10 +517,10 @@ abstract class TransactionTemplate extends Base
return 'general.customers'; return 'general.customers';
} }
protected function getTextReleatedDocumentDate($type, $textReleatedDocumentDate) protected function getTextRelatedDocumentDate($type, $textRelatedDocumentDate)
{ {
if (!empty($textReleatedDocumentDate)) { if (!empty($textRelatedDocumentDate)) {
return $textReleatedDocumentDate; return $textRelatedDocumentDate;
} }
switch ($type) { switch ($type) {
@ -543,10 +543,10 @@ abstract class TransactionTemplate extends Base
return 'invoices.invoice_date'; return 'invoices.invoice_date';
} }
protected function getTextReleatedDocumentAmount($type, $textReleatedDocumentAmount) protected function getTextRelatedDocumentAmount($type, $textRelatedDocumentAmount)
{ {
if (!empty($textReleatedDocumentAmount)) { if (!empty($textRelatedDocumentAmount)) {
return $textReleatedDocumentAmount; return $textRelatedDocumentAmount;
} }
switch ($type) { switch ($type) {
@ -569,10 +569,10 @@ abstract class TransactionTemplate extends Base
return 'general.amount'; return 'general.amount';
} }
protected function getTextReleatedAmount($type, $textReleatedAmount) protected function getTextRelatedAmount($type, $textRelatedAmount)
{ {
if (!empty($textReleatedAmount)) { if (!empty($textRelatedAmount)) {
return $textReleatedAmount; return $textRelatedAmount;
} }
$translation = $this->getTextFromConfig($type, 'related_amount', 'amount'); $translation = $this->getTextFromConfig($type, 'related_amount', 'amount');

View File

@ -392,7 +392,7 @@ abstract class TransferShow extends Component
$this->hideDetailDescription = $hideDetailDescription; $this->hideDetailDescription = $hideDetailDescription;
$this->hideDetailAmount = $hideDetailAmount; $this->hideDetailAmount = $hideDetailAmount;
// Releated Information Text // Related Information Text
$this->textDetailTitle = $this->getTextDetailTitle($textDetailTitle); $this->textDetailTitle = $this->getTextDetailTitle($textDetailTitle);
$this->textDetailDate = $this->getTextDetailDate($textDetailDate); $this->textDetailDate = $this->getTextDetailDate($textDetailDate);
$this->textDetailPaymentMethod = $this->getTextDetailPaymentMethod($textDetailPaymentMethod); $this->textDetailPaymentMethod = $this->getTextDetailPaymentMethod($textDetailPaymentMethod);

View File

@ -177,7 +177,7 @@ abstract class TransferTemplate extends Component
$this->hideDetailDescription = $hideDetailDescription; $this->hideDetailDescription = $hideDetailDescription;
$this->hideDetailAmount = $hideDetailAmount; $this->hideDetailAmount = $hideDetailAmount;
// Releated Information Text // Related Information Text
$this->textDetailTitle = $this->getTextDetailTitle($textDetailTitle); $this->textDetailTitle = $this->getTextDetailTitle($textDetailTitle);
$this->textDetailDate = $this->getTextDetailDate($textDetailDate); $this->textDetailDate = $this->getTextDetailDate($textDetailDate);
$this->textDetailPaymentMethod = $this->getTextDetailPaymentMethod($textDetailPaymentMethod); $this->textDetailPaymentMethod = $this->getTextDetailPaymentMethod($textDetailPaymentMethod);

View File

@ -4,7 +4,7 @@ return [
'payment_made' => 'Payment Made', 'payment_made' => 'Payment Made',
'paid_to' => 'Paid To', 'paid_to' => 'Paid To',
'related_bill' => 'Releated Bill', 'related_bill' => 'Related Bill',
'create_payment' => 'Create Payment', 'create_payment' => 'Create Payment',
]; ];

View File

@ -4,7 +4,7 @@ return [
'revenue_received' => 'Revenue Received', 'revenue_received' => 'Revenue Received',
'paid_by' => 'Paid By', 'paid_by' => 'Paid By',
'related_invoice' => 'Releated Invoice', 'related_invoice' => 'Related Invoice',
'create_revenue' => 'Create Revenue', 'create_revenue' => 'Create Revenue',
]; ];

View File

@ -73,19 +73,19 @@
hide-contact-phone="{{ $hideContactPhone }}" hide-contact-phone="{{ $hideContactPhone }}"
hide-contact-email="{{ $hideContactEmail }}" hide-contact-email="{{ $hideContactEmail }}"
hide-releated="{{ $hideReletad }}" hide-related="{{ $hideRelated }}"
hide-releated-document-number="{{ $hideReletadDocumentNumber }}" hide-related-document-number="{{ $hideRelatedDocumentNumber }}"
hide-releated-contact="{{ $hideReletadContact }}" hide-related-contact="{{ $hideRelatedContact }}"
hide-releated-document-date="{{ $hideReletadDocumentDate }}" hide-related-document-date="{{ $hideRelatedDocumentDate }}"
hide-releated-document-amount="{{ $hideReletadDocumentAmount }}" hide-related-document-amount="{{ $hideRelatedDocumentAmount }}"
hide-releated-amount="{{ $hideReletadAmount }}" hide-related-amount="{{ $hideRelatedAmount }}"
text-releated-transaction="{{ $textReleatedTransansaction }}" text-related-transaction="{{ $textRelatedTransansaction }}"
text-releated-document-number="{{ $textReleatedDocumentNumber }}" text-related-document-number="{{ $textRelatedDocumentNumber }}"
text-releated-contact="{{ $textReleatedContact }}" text-related-contact="{{ $textRelatedContact }}"
text-releated-document-date="{{ $textReleatedDocumentDate }}" text-related-document-date="{{ $textRelatedDocumentDate }}"
text-releated-document-amount="{{ $textReleatedDocumentAmount }}" text-related-document-amount="{{ $textRelatedDocumentAmount }}"
text-releated-amount="{{ $textReleatedAmount }}" text-related-amount="{{ $textRelatedAmount }}"
route-document-show="{{ $routeDocumentShow }}" route-document-show="{{ $routeDocumentShow }}"
/> />

View File

@ -49,19 +49,19 @@
hide-contact-phone="{{ $hideContactPhone }}" hide-contact-phone="{{ $hideContactPhone }}"
hide-contact-email="{{ $hideContactEmail }}" hide-contact-email="{{ $hideContactEmail }}"
hide-releated="{{ $hideReletad }}" hide-related="{{ $hideRelated }}"
hide-releated-document-number="{{ $hideReletadDocumentNumber }}" hide-related-document-number="{{ $hideRelatedDocumentNumber }}"
hide-releated-contact="{{ $hideReletadContact }}" hide-related-contact="{{ $hideRelatedContact }}"
hide-releated-document-date="{{ $hideReletadDocumentDate }}" hide-related-document-date="{{ $hideRelatedDocumentDate }}"
hide-releated-document-amount="{{ $hideReletadDocumentAmount }}" hide-related-document-amount="{{ $hideRelatedDocumentAmount }}"
hide-releated-amount="{{ $hideReletadAmount }}" hide-related-amount="{{ $hideRelatedAmount }}"
text-releated-transaction="{{ $textReleatedTransansaction }}" text-related-transaction="{{ $textRelatedTransansaction }}"
text-releated-document-number="{{ $textReleatedDocumentNumber }}" text-related-document-number="{{ $textRelatedDocumentNumber }}"
text-releated-contact="{{ $textReleatedContact }}" text-related-contact="{{ $textRelatedContact }}"
text-releated-document-date="{{ $textReleatedDocumentDate }}" text-related-document-date="{{ $textRelatedDocumentDate }}"
text-releated-document-amount="{{ $textReleatedDocumentAmount }}" text-related-document-amount="{{ $textRelatedDocumentAmount }}"
text-releated-amount="{{ $textReleatedAmount }}" text-related-amount="{{ $textRelatedAmount }}"
route-document-show="{{ $routeDocumentShow }}" route-document-show="{{ $routeDocumentShow }}"
/> />

View File

@ -258,7 +258,7 @@
</tr> </tr>
</table> </table>
@if (!$hideReletad) @if (!$hideRelated)
@if ($transaction->document) @if ($transaction->document)
<table> <table>
<tr> <tr>
@ -269,7 +269,7 @@
<table> <table>
<tr> <tr>
<td style="padding-bottom: 0; padding-top:36px;"> <td style="padding-bottom: 0; padding-top:36px;">
<h2 style="font-size: 16px;">{{ trans($textReleatedTransansaction) }}</h2> <h2 style="font-size: 16px;">{{ trans($textRelatedTransansaction) }}</h2>
</td> </td>
</tr> </tr>
</table> </table>
@ -277,33 +277,33 @@
<table class="table table-flush table-hover" cellspacing="0" cellpadding="0" style="margin-bottom: 36px;"> <table class="table table-flush table-hover" cellspacing="0" cellpadding="0" style="margin-bottom: 36px;">
<thead style="background-color: #f6f9fc; -webkit-print-color-adjust: exact; font-family: Arial, sans-serif; color:#8898aa; font-size:11px;"> <thead style="background-color: #f6f9fc; -webkit-print-color-adjust: exact; font-family: Arial, sans-serif; color:#8898aa; font-size:11px;">
<tr class="border-bottom-1"> <tr class="border-bottom-1">
@if (!$hideReletadDocumentNumber) @if (!$hideRelatedDocumentNumber)
<th class="item text-left" style="text-align: left; text-transform: uppercase; font-family: Arial, sans-serif;"> <th class="item text-left" style="text-align: left; text-transform: uppercase; font-family: Arial, sans-serif;">
<span>{{ trans_choice($textReleatedDocumentNumber, 1) }}</span> <span>{{ trans_choice($textRelatedDocumentNumber, 1) }}</span>
</th> </th>
@endif @endif
@if (!$hideReletadContact) @if (!$hideRelatedContact)
<th class="quantity" style="text-align: left; text-transform: uppercase; font-family: Arial, sans-serif;"> <th class="quantity" style="text-align: left; text-transform: uppercase; font-family: Arial, sans-serif;">
{{ trans_choice($textReleatedContact, 1) }} {{ trans_choice($textRelatedContact, 1) }}
</th> </th>
@endif @endif
@if (!$hideReletadDocumentDate) @if (!$hideRelatedDocumentDate)
<th class="price" style="text-align: left; text-transform: uppercase; font-family: Arial, sans-serif;"> <th class="price" style="text-align: left; text-transform: uppercase; font-family: Arial, sans-serif;">
{{ trans($textReleatedDocumentDate) }} {{ trans($textRelatedDocumentDate) }}
</th> </th>
@endif @endif
@if (!$hideReletadDocumentAmount) @if (!$hideRelatedDocumentAmount)
<th class="price" style="text-align: left; text-transform: uppercase; font-family: Arial, sans-serif;"> <th class="price" style="text-align: left; text-transform: uppercase; font-family: Arial, sans-serif;">
{{ trans($textReleatedDocumentAmount) }} {{ trans($textRelatedDocumentAmount) }}
</th> </th>
@endif @endif
@if (!$hideReletadAmount) @if (!$hideRelatedAmount)
<th class="total" style="text-align: left; text-transform: uppercase; font-family: Arial, sans-serif;"> <th class="total" style="text-align: left; text-transform: uppercase; font-family: Arial, sans-serif;">
{{ trans($textReleatedAmount) }} {{ trans($textRelatedAmount) }}
</th> </th>
@endif @endif
</tr> </tr>
@ -311,7 +311,7 @@
<tbody> <tbody>
<tr> <tr>
@if (!$hideReletadDocumentNumber) @if (!$hideRelatedDocumentNumber)
<td class="item" style="color:#525f7f; font-size:13px;"> <td class="item" style="color:#525f7f; font-size:13px;">
<a style="color:#6da252 !important;" href="{{ route($routeDocumentShow, $transaction->document->id) }}"> <a style="color:#6da252 !important;" href="{{ route($routeDocumentShow, $transaction->document->id) }}">
{{ $transaction->document->document_number }} {{ $transaction->document->document_number }}
@ -319,25 +319,25 @@
</td> </td>
@endif @endif
@if (!$hideReletadContact) @if (!$hideRelatedContact)
<td class="quantity" style="color:#525f7f; font-size:13px;"> <td class="quantity" style="color:#525f7f; font-size:13px;">
{{ $transaction->document->contact_name }} {{ $transaction->document->contact_name }}
</td> </td>
@endif @endif
@if (!$hideReletadDocumentDate) @if (!$hideRelatedDocumentDate)
<td class="price" style="color:#525f7f; font-size:13px;"> <td class="price" style="color:#525f7f; font-size:13px;">
@date($transaction->document->due_at) @date($transaction->document->due_at)
</td> </td>
@endif @endif
@if (!$hideReletadDocumentAmount) @if (!$hideRelatedDocumentAmount)
<td class="price" style="color:#525f7f; font-size:13px;"> <td class="price" style="color:#525f7f; font-size:13px;">
@money($transaction->document->amount, $transaction->document->currency_code, true) @money($transaction->document->amount, $transaction->document->currency_code, true)
</td> </td>
@endif @endif
@if (!$hideReletadAmount) @if (!$hideRelatedAmount)
<td class="total" style="color:#525f7f; font-size:13px;"> <td class="total" style="color:#525f7f; font-size:13px;">
@money($transaction->amount, $transaction->currency_code, true) @money($transaction->amount, $transaction->currency_code, true)
</td> </td>