commit
21bf4a6836
@ -257,40 +257,40 @@ abstract class TransactionShow extends Base
|
||||
public $hideContactEmail;
|
||||
|
||||
/** @var bool */
|
||||
public $hideReletad;
|
||||
public $hideRelated;
|
||||
|
||||
/** @var bool */
|
||||
public $hideReletadDocumentNumber;
|
||||
public $hideRelatedDocumentNumber;
|
||||
|
||||
/** @var bool */
|
||||
public $hideReletadContact;
|
||||
public $hideRelatedContact;
|
||||
|
||||
/** @var bool */
|
||||
public $hideReletadDocumentDate;
|
||||
public $hideRelatedDocumentDate;
|
||||
|
||||
/** @var bool */
|
||||
public $hideReletadDocumentAmount;
|
||||
public $hideRelatedDocumentAmount;
|
||||
|
||||
/** @var bool */
|
||||
public $hideReletadAmount;
|
||||
public $hideRelatedAmount;
|
||||
|
||||
/** @var string */
|
||||
public $textReleatedTransansaction;
|
||||
public $textRelatedTransansaction;
|
||||
|
||||
/** @var string */
|
||||
public $textReleatedDocumentNumber;
|
||||
public $textRelatedDocumentNumber;
|
||||
|
||||
/** @var string */
|
||||
public $textReleatedContact;
|
||||
public $textRelatedContact;
|
||||
|
||||
/** @var string */
|
||||
public $textReleatedDocumentDate;
|
||||
public $textRelatedDocumentDate;
|
||||
|
||||
/** @var string */
|
||||
public $textReleatedDocumentAmount;
|
||||
public $textRelatedDocumentAmount;
|
||||
|
||||
/** @var string */
|
||||
public $textReleatedAmount;
|
||||
public $textRelatedAmount;
|
||||
|
||||
/** @var string */
|
||||
public $routeDocumentShow;
|
||||
@ -346,8 +346,8 @@ abstract class TransactionShow extends Base
|
||||
string $textAmount = '', string $textPaidBy = '',
|
||||
bool $hideContact = false, bool $hideContactInfo = false, bool $hideContactName = false, bool $hideContactAddress = false, bool $hideContactTaxNumber = 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,
|
||||
string $textReleatedTransansaction = '', string $textReleatedDocumentNumber = '', string $textReleatedContact = '', string $textReleatedDocumentDate = '', string $textReleatedDocumentAmount = '', string $textReleatedAmount = '',
|
||||
bool $hideRelated = false, bool $hideRelatedDocumentNumber = false, bool $hideRelatedContact = false, bool $hideRelatedDocumentDate = false, bool $hideRelatedDocumentAmount = false, bool $hideRelatedAmount = false,
|
||||
string $textRelatedTransansaction = '', string $textRelatedDocumentNumber = '', string $textRelatedContact = '', string $textRelatedDocumentDate = '', string $textRelatedDocumentAmount = '', string $textRelatedAmount = '',
|
||||
string $routeDocumentShow = '',
|
||||
|
||||
bool $hideAttachment = false, $attachment = [],
|
||||
@ -464,21 +464,21 @@ abstract class TransactionShow extends Base
|
||||
$this->hideContactPhone = $hideContactPhone;
|
||||
$this->hideContactEmail = $hideContactEmail;
|
||||
|
||||
// Releated Information Hide checker
|
||||
$this->hideReletad = $hideReletad;
|
||||
$this->hideReletadDocumentNumber = $hideReletadDocumentNumber;
|
||||
$this->hideReletadContact = $hideReletadContact;
|
||||
$this->hideReletadDocumentDate = $hideReletadDocumentDate;
|
||||
$this->hideReletadDocumentAmount = $hideReletadDocumentAmount;
|
||||
$this->hideReletadAmount = $hideReletadAmount;
|
||||
// Related Information Hide checker
|
||||
$this->hideRelated = $hideRelated;
|
||||
$this->hideRelatedDocumentNumber = $hideRelatedDocumentNumber;
|
||||
$this->hideRelatedContact = $hideRelatedContact;
|
||||
$this->hideRelatedDocumentDate = $hideRelatedDocumentDate;
|
||||
$this->hideRelatedDocumentAmount = $hideRelatedDocumentAmount;
|
||||
$this->hideRelatedAmount = $hideRelatedAmount;
|
||||
|
||||
// Releated Information Text
|
||||
$this->textReleatedTransansaction = $this->getTextReleatedTransansaction($type, $textReleatedTransansaction);
|
||||
$this->textReleatedDocumentNumber = $this->getTextReleatedDocumentNumber($type, $textReleatedDocumentNumber);
|
||||
$this->textReleatedContact = $this->getTextReleatedContact($type, $textReleatedContact);
|
||||
$this->textReleatedDocumentDate = $this->getTextReleatedDocumentDate($type, $textReleatedDocumentDate);
|
||||
$this->textReleatedDocumentAmount = $this->getTextReleatedDocumentAmount($type, $textReleatedDocumentAmount);
|
||||
$this->textReleatedAmount = $this->getTextReleatedAmount($type, $textReleatedAmount);
|
||||
// Related Information Text
|
||||
$this->textRelatedTransansaction = $this->getTextRelatedTransansaction($type, $textRelatedTransansaction);
|
||||
$this->textRelatedDocumentNumber = $this->getTextRelatedDocumentNumber($type, $textRelatedDocumentNumber);
|
||||
$this->textRelatedContact = $this->getTextRelatedContact($type, $textRelatedContact);
|
||||
$this->textRelatedDocumentDate = $this->getTextRelatedDocumentDate($type, $textRelatedDocumentDate);
|
||||
$this->textRelatedDocumentAmount = $this->getTextRelatedDocumentAmount($type, $textRelatedDocumentAmount);
|
||||
$this->textRelatedAmount = $this->getTextRelatedAmount($type, $textRelatedAmount);
|
||||
|
||||
$this->routeDocumentShow = $this->routeDocumentShow($type, $routeDocumentShow);
|
||||
|
||||
@ -1093,10 +1093,10 @@ abstract class TransactionShow extends Base
|
||||
return 'revenues.paid_by';
|
||||
}
|
||||
|
||||
protected function getTextReleatedTransansaction($type, $textReleatedTransansaction)
|
||||
protected function getTextRelatedTransansaction($type, $textRelatedTransansaction)
|
||||
{
|
||||
if (!empty($textReleatedTransansaction)) {
|
||||
return $textReleatedTransansaction;
|
||||
if (!empty($textRelatedTransansaction)) {
|
||||
return $textRelatedTransansaction;
|
||||
}
|
||||
|
||||
switch ($type) {
|
||||
@ -1119,10 +1119,10 @@ abstract class TransactionShow extends Base
|
||||
return 'revenues.related_invoice';
|
||||
}
|
||||
|
||||
protected function getTextReleatedDocumentNumber($type, $textReleatedDocumentNumber)
|
||||
protected function getTextRelatedDocumentNumber($type, $textRelatedDocumentNumber)
|
||||
{
|
||||
if (!empty($textReleatedDocumentNumber)) {
|
||||
return $textReleatedDocumentNumber;
|
||||
if (!empty($textRelatedDocumentNumber)) {
|
||||
return $textRelatedDocumentNumber;
|
||||
}
|
||||
|
||||
$translation = $this->getTextFromConfig($type, 'related_document_number', 'numbers');
|
||||
@ -1134,10 +1134,10 @@ abstract class TransactionShow extends Base
|
||||
return 'general.numbers';
|
||||
}
|
||||
|
||||
protected function getTextReleatedContact($type, $textReleatedContact)
|
||||
protected function getTextRelatedContact($type, $textRelatedContact)
|
||||
{
|
||||
if (!empty($textReleatedContact)) {
|
||||
return $textReleatedContact;
|
||||
if (!empty($textRelatedContact)) {
|
||||
return $textRelatedContact;
|
||||
}
|
||||
|
||||
$default_key = Str::plural(config('type.' . $type . '.contact_type'), 2);
|
||||
@ -1151,10 +1151,10 @@ abstract class TransactionShow extends Base
|
||||
return 'general.customers';
|
||||
}
|
||||
|
||||
protected function getTextReleatedDocumentDate($type, $textReleatedDocumentDate)
|
||||
protected function getTextRelatedDocumentDate($type, $textRelatedDocumentDate)
|
||||
{
|
||||
if (!empty($textReleatedDocumentDate)) {
|
||||
return $textReleatedDocumentDate;
|
||||
if (!empty($textRelatedDocumentDate)) {
|
||||
return $textRelatedDocumentDate;
|
||||
}
|
||||
|
||||
switch ($type) {
|
||||
@ -1177,10 +1177,10 @@ abstract class TransactionShow extends Base
|
||||
return 'invoices.invoice_date';
|
||||
}
|
||||
|
||||
protected function getTextReleatedDocumentAmount($type, $textReleatedDocumentAmount)
|
||||
protected function getTextRelatedDocumentAmount($type, $textRelatedDocumentAmount)
|
||||
{
|
||||
if (!empty($textReleatedDocumentAmount)) {
|
||||
return $textReleatedDocumentAmount;
|
||||
if (!empty($textRelatedDocumentAmount)) {
|
||||
return $textRelatedDocumentAmount;
|
||||
}
|
||||
|
||||
switch ($type) {
|
||||
@ -1203,10 +1203,10 @@ abstract class TransactionShow extends Base
|
||||
return 'general.amount';
|
||||
}
|
||||
|
||||
protected function getTextReleatedAmount($type, $textReleatedAmount)
|
||||
protected function getTextRelatedAmount($type, $textRelatedAmount)
|
||||
{
|
||||
if (!empty($textReleatedAmount)) {
|
||||
return $textReleatedAmount;
|
||||
if (!empty($textRelatedAmount)) {
|
||||
return $textRelatedAmount;
|
||||
}
|
||||
|
||||
$translation = $this->getTextFromConfig($type, 'related_amount', 'amount');
|
||||
|
@ -126,40 +126,40 @@ abstract class TransactionTemplate extends Base
|
||||
public $hideContactEmail;
|
||||
|
||||
/** @var bool */
|
||||
public $hideReletad;
|
||||
public $hideRelated;
|
||||
|
||||
/** @var bool */
|
||||
public $hideReletadDocumentNumber;
|
||||
public $hideRelatedDocumentNumber;
|
||||
|
||||
/** @var bool */
|
||||
public $hideReletadContact;
|
||||
public $hideRelatedContact;
|
||||
|
||||
/** @var bool */
|
||||
public $hideReletadDocumentDate;
|
||||
public $hideRelatedDocumentDate;
|
||||
|
||||
/** @var bool */
|
||||
public $hideReletadDocumentAmount;
|
||||
public $hideRelatedDocumentAmount;
|
||||
|
||||
/** @var bool */
|
||||
public $hideReletadAmount;
|
||||
public $hideRelatedAmount;
|
||||
|
||||
/** @var string */
|
||||
public $textReleatedTransansaction;
|
||||
public $textRelatedTransansaction;
|
||||
|
||||
/** @var string */
|
||||
public $textReleatedDocumentNumber;
|
||||
public $textRelatedDocumentNumber;
|
||||
|
||||
/** @var string */
|
||||
public $textReleatedContact;
|
||||
public $textRelatedContact;
|
||||
|
||||
/** @var string */
|
||||
public $textReleatedDocumentDate;
|
||||
public $textRelatedDocumentDate;
|
||||
|
||||
/** @var string */
|
||||
public $textReleatedDocumentAmount;
|
||||
public $textRelatedDocumentAmount;
|
||||
|
||||
/** @var string */
|
||||
public $textReleatedAmount;
|
||||
public $textRelatedAmount;
|
||||
|
||||
/** @var string */
|
||||
public $routeDocumentShow;
|
||||
@ -179,8 +179,8 @@ abstract class TransactionTemplate extends Base
|
||||
string $textAmount = '', string $textPaidBy = '',
|
||||
bool $hideContact = false, bool $hideContactInfo = false, bool $hideContactName = false, bool $hideContactAddress = false, bool $hideContactTaxNumber = 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,
|
||||
string $textReleatedTransansaction = '', string $textReleatedDocumentNumber = '', string $textReleatedContact = '', string $textReleatedDocumentDate = '', string $textReleatedDocumentAmount = '', string $textReleatedAmount = '',
|
||||
bool $hideRelated = false, bool $hideRelatedDocumentNumber = false, bool $hideRelatedContact = false, bool $hideRelatedDocumentDate = false, bool $hideRelatedDocumentAmount = false, bool $hideRelatedAmount = false,
|
||||
string $textRelatedTransansaction = '', string $textRelatedDocumentNumber = '', string $textRelatedContact = '', string $textRelatedDocumentDate = '', string $textRelatedDocumentAmount = '', string $textRelatedAmount = '',
|
||||
string $routeDocumentShow = ''
|
||||
) {
|
||||
$this->type = $type;
|
||||
@ -229,21 +229,21 @@ abstract class TransactionTemplate extends Base
|
||||
$this->hideContactPhone = $hideContactPhone;
|
||||
$this->hideContactEmail = $hideContactEmail;
|
||||
|
||||
// Releated Information Hide checker
|
||||
$this->hideReletad = $hideReletad;
|
||||
$this->hideReletadDocumentNumber = $hideReletadDocumentNumber;
|
||||
$this->hideReletadContact = $hideReletadContact;
|
||||
$this->hideReletadDocumentDate = $hideReletadDocumentDate;
|
||||
$this->hideReletadDocumentAmount = $hideReletadDocumentAmount;
|
||||
$this->hideReletadAmount = $hideReletadAmount;
|
||||
// Related Information Hide checker
|
||||
$this->hideRelated = $hideRelated;
|
||||
$this->hideRelatedDocumentNumber = $hideRelatedDocumentNumber;
|
||||
$this->hideRelatedContact = $hideRelatedContact;
|
||||
$this->hideRelatedDocumentDate = $hideRelatedDocumentDate;
|
||||
$this->hideRelatedDocumentAmount = $hideRelatedDocumentAmount;
|
||||
$this->hideRelatedAmount = $hideRelatedAmount;
|
||||
|
||||
// Releated Information Text
|
||||
$this->textReleatedTransansaction = $this->getTextReleatedTransansaction($type, $textReleatedTransansaction);
|
||||
$this->textReleatedDocumentNumber = $this->getTextReleatedDocumentNumber($type, $textReleatedDocumentNumber);
|
||||
$this->textReleatedContact = $this->getTextReleatedContact($type, $textReleatedContact);
|
||||
$this->textReleatedDocumentDate = $this->getTextReleatedDocumentDate($type, $textReleatedDocumentDate);
|
||||
$this->textReleatedDocumentAmount = $this->getTextReleatedDocumentAmount($type, $textReleatedDocumentAmount);
|
||||
$this->textReleatedAmount = $this->getTextReleatedAmount($type, $textReleatedAmount);
|
||||
// Related Information Text
|
||||
$this->textRelatedTransansaction = $this->getTextRelatedTransansaction($type, $textRelatedTransansaction);
|
||||
$this->textRelatedDocumentNumber = $this->getTextRelatedDocumentNumber($type, $textRelatedDocumentNumber);
|
||||
$this->textRelatedContact = $this->getTextRelatedContact($type, $textRelatedContact);
|
||||
$this->textRelatedDocumentDate = $this->getTextRelatedDocumentDate($type, $textRelatedDocumentDate);
|
||||
$this->textRelatedDocumentAmount = $this->getTextRelatedDocumentAmount($type, $textRelatedDocumentAmount);
|
||||
$this->textRelatedAmount = $this->getTextRelatedAmount($type, $textRelatedAmount);
|
||||
|
||||
$this->routeDocumentShow = $this->routeDocumentShow($type, $routeDocumentShow);
|
||||
}
|
||||
@ -459,10 +459,10 @@ abstract class TransactionTemplate extends Base
|
||||
return 'revenues.paid_by';
|
||||
}
|
||||
|
||||
protected function getTextReleatedTransansaction($type, $textReleatedTransansaction)
|
||||
protected function getTextRelatedTransansaction($type, $textRelatedTransansaction)
|
||||
{
|
||||
if (!empty($textReleatedTransansaction)) {
|
||||
return $textReleatedTransansaction;
|
||||
if (!empty($textRelatedTransansaction)) {
|
||||
return $textRelatedTransansaction;
|
||||
}
|
||||
|
||||
switch ($type) {
|
||||
@ -485,10 +485,10 @@ abstract class TransactionTemplate extends Base
|
||||
return 'revenues.related_invoice';
|
||||
}
|
||||
|
||||
protected function getTextReleatedDocumentNumber($type, $textReleatedDocumentNumber)
|
||||
protected function getTextRelatedDocumentNumber($type, $textRelatedDocumentNumber)
|
||||
{
|
||||
if (!empty($textReleatedDocumentNumber)) {
|
||||
return $textReleatedDocumentNumber;
|
||||
if (!empty($textRelatedDocumentNumber)) {
|
||||
return $textRelatedDocumentNumber;
|
||||
}
|
||||
|
||||
$translation = $this->getTextFromConfig($type, 'related_document_number', 'numbers');
|
||||
@ -500,10 +500,10 @@ abstract class TransactionTemplate extends Base
|
||||
return 'general.numbers';
|
||||
}
|
||||
|
||||
protected function getTextReleatedContact($type, $textReleatedContact)
|
||||
protected function getTextRelatedContact($type, $textRelatedContact)
|
||||
{
|
||||
if (!empty($textReleatedContact)) {
|
||||
return $textReleatedContact;
|
||||
if (!empty($textRelatedContact)) {
|
||||
return $textRelatedContact;
|
||||
}
|
||||
|
||||
$default_key = Str::plural(config('type.' . $type . '.contact_type'), 2);
|
||||
@ -517,10 +517,10 @@ abstract class TransactionTemplate extends Base
|
||||
return 'general.customers';
|
||||
}
|
||||
|
||||
protected function getTextReleatedDocumentDate($type, $textReleatedDocumentDate)
|
||||
protected function getTextRelatedDocumentDate($type, $textRelatedDocumentDate)
|
||||
{
|
||||
if (!empty($textReleatedDocumentDate)) {
|
||||
return $textReleatedDocumentDate;
|
||||
if (!empty($textRelatedDocumentDate)) {
|
||||
return $textRelatedDocumentDate;
|
||||
}
|
||||
|
||||
switch ($type) {
|
||||
@ -543,10 +543,10 @@ abstract class TransactionTemplate extends Base
|
||||
return 'invoices.invoice_date';
|
||||
}
|
||||
|
||||
protected function getTextReleatedDocumentAmount($type, $textReleatedDocumentAmount)
|
||||
protected function getTextRelatedDocumentAmount($type, $textRelatedDocumentAmount)
|
||||
{
|
||||
if (!empty($textReleatedDocumentAmount)) {
|
||||
return $textReleatedDocumentAmount;
|
||||
if (!empty($textRelatedDocumentAmount)) {
|
||||
return $textRelatedDocumentAmount;
|
||||
}
|
||||
|
||||
switch ($type) {
|
||||
@ -569,10 +569,10 @@ abstract class TransactionTemplate extends Base
|
||||
return 'general.amount';
|
||||
}
|
||||
|
||||
protected function getTextReleatedAmount($type, $textReleatedAmount)
|
||||
protected function getTextRelatedAmount($type, $textRelatedAmount)
|
||||
{
|
||||
if (!empty($textReleatedAmount)) {
|
||||
return $textReleatedAmount;
|
||||
if (!empty($textRelatedAmount)) {
|
||||
return $textRelatedAmount;
|
||||
}
|
||||
|
||||
$translation = $this->getTextFromConfig($type, 'related_amount', 'amount');
|
||||
|
@ -392,7 +392,7 @@ abstract class TransferShow extends Component
|
||||
$this->hideDetailDescription = $hideDetailDescription;
|
||||
$this->hideDetailAmount = $hideDetailAmount;
|
||||
|
||||
// Releated Information Text
|
||||
// Related Information Text
|
||||
$this->textDetailTitle = $this->getTextDetailTitle($textDetailTitle);
|
||||
$this->textDetailDate = $this->getTextDetailDate($textDetailDate);
|
||||
$this->textDetailPaymentMethod = $this->getTextDetailPaymentMethod($textDetailPaymentMethod);
|
||||
|
@ -177,7 +177,7 @@ abstract class TransferTemplate extends Component
|
||||
$this->hideDetailDescription = $hideDetailDescription;
|
||||
$this->hideDetailAmount = $hideDetailAmount;
|
||||
|
||||
// Releated Information Text
|
||||
// Related Information Text
|
||||
$this->textDetailTitle = $this->getTextDetailTitle($textDetailTitle);
|
||||
$this->textDetailDate = $this->getTextDetailDate($textDetailDate);
|
||||
$this->textDetailPaymentMethod = $this->getTextDetailPaymentMethod($textDetailPaymentMethod);
|
||||
|
@ -4,7 +4,7 @@ return [
|
||||
|
||||
'payment_made' => 'Payment Made',
|
||||
'paid_to' => 'Paid To',
|
||||
'related_bill' => 'Releated Bill',
|
||||
'related_bill' => 'Related Bill',
|
||||
'create_payment' => 'Create Payment',
|
||||
|
||||
];
|
||||
|
@ -4,7 +4,7 @@ return [
|
||||
|
||||
'revenue_received' => 'Revenue Received',
|
||||
'paid_by' => 'Paid By',
|
||||
'related_invoice' => 'Releated Invoice',
|
||||
'related_invoice' => 'Related Invoice',
|
||||
'create_revenue' => 'Create Revenue',
|
||||
|
||||
];
|
||||
|
@ -73,19 +73,19 @@
|
||||
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 }}"
|
||||
hide-related="{{ $hideRelated }}"
|
||||
hide-related-document-number="{{ $hideRelatedDocumentNumber }}"
|
||||
hide-related-contact="{{ $hideRelatedContact }}"
|
||||
hide-related-document-date="{{ $hideRelatedDocumentDate }}"
|
||||
hide-related-document-amount="{{ $hideRelatedDocumentAmount }}"
|
||||
hide-related-amount="{{ $hideRelatedAmount }}"
|
||||
|
||||
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 }}"
|
||||
text-related-transaction="{{ $textRelatedTransansaction }}"
|
||||
text-related-document-number="{{ $textRelatedDocumentNumber }}"
|
||||
text-related-contact="{{ $textRelatedContact }}"
|
||||
text-related-document-date="{{ $textRelatedDocumentDate }}"
|
||||
text-related-document-amount="{{ $textRelatedDocumentAmount }}"
|
||||
text-related-amount="{{ $textRelatedAmount }}"
|
||||
|
||||
route-document-show="{{ $routeDocumentShow }}"
|
||||
/>
|
||||
|
@ -49,19 +49,19 @@
|
||||
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 }}"
|
||||
hide-related="{{ $hideRelated }}"
|
||||
hide-related-document-number="{{ $hideRelatedDocumentNumber }}"
|
||||
hide-related-contact="{{ $hideRelatedContact }}"
|
||||
hide-related-document-date="{{ $hideRelatedDocumentDate }}"
|
||||
hide-related-document-amount="{{ $hideRelatedDocumentAmount }}"
|
||||
hide-related-amount="{{ $hideRelatedAmount }}"
|
||||
|
||||
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 }}"
|
||||
text-related-transaction="{{ $textRelatedTransansaction }}"
|
||||
text-related-document-number="{{ $textRelatedDocumentNumber }}"
|
||||
text-related-contact="{{ $textRelatedContact }}"
|
||||
text-related-document-date="{{ $textRelatedDocumentDate }}"
|
||||
text-related-document-amount="{{ $textRelatedDocumentAmount }}"
|
||||
text-related-amount="{{ $textRelatedAmount }}"
|
||||
|
||||
route-document-show="{{ $routeDocumentShow }}"
|
||||
/>
|
||||
|
@ -258,7 +258,7 @@
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
@if (!$hideReletad)
|
||||
@if (!$hideRelated)
|
||||
@if ($transaction->document)
|
||||
<table>
|
||||
<tr>
|
||||
@ -269,7 +269,7 @@
|
||||
<table>
|
||||
<tr>
|
||||
<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>
|
||||
</tr>
|
||||
</table>
|
||||
@ -277,33 +277,33 @@
|
||||
<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;">
|
||||
<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;">
|
||||
<span>{{ trans_choice($textReleatedDocumentNumber, 1) }}</span>
|
||||
<span>{{ trans_choice($textRelatedDocumentNumber, 1) }}</span>
|
||||
</th>
|
||||
@endif
|
||||
|
||||
@if (!$hideReletadContact)
|
||||
@if (!$hideRelatedContact)
|
||||
<th class="quantity" style="text-align: left; text-transform: uppercase; font-family: Arial, sans-serif;">
|
||||
{{ trans_choice($textReleatedContact, 1) }}
|
||||
{{ trans_choice($textRelatedContact, 1) }}
|
||||
</th>
|
||||
@endif
|
||||
|
||||
@if (!$hideReletadDocumentDate)
|
||||
@if (!$hideRelatedDocumentDate)
|
||||
<th class="price" style="text-align: left; text-transform: uppercase; font-family: Arial, sans-serif;">
|
||||
{{ trans($textReleatedDocumentDate) }}
|
||||
{{ trans($textRelatedDocumentDate) }}
|
||||
</th>
|
||||
@endif
|
||||
|
||||
@if (!$hideReletadDocumentAmount)
|
||||
@if (!$hideRelatedDocumentAmount)
|
||||
<th class="price" style="text-align: left; text-transform: uppercase; font-family: Arial, sans-serif;">
|
||||
{{ trans($textReleatedDocumentAmount) }}
|
||||
{{ trans($textRelatedDocumentAmount) }}
|
||||
</th>
|
||||
@endif
|
||||
|
||||
@if (!$hideReletadAmount)
|
||||
@if (!$hideRelatedAmount)
|
||||
<th class="total" style="text-align: left; text-transform: uppercase; font-family: Arial, sans-serif;">
|
||||
{{ trans($textReleatedAmount) }}
|
||||
{{ trans($textRelatedAmount) }}
|
||||
</th>
|
||||
@endif
|
||||
</tr>
|
||||
@ -311,7 +311,7 @@
|
||||
|
||||
<tbody>
|
||||
<tr>
|
||||
@if (!$hideReletadDocumentNumber)
|
||||
@if (!$hideRelatedDocumentNumber)
|
||||
<td class="item" style="color:#525f7f; font-size:13px;">
|
||||
<a style="color:#6da252 !important;" href="{{ route($routeDocumentShow, $transaction->document->id) }}">
|
||||
{{ $transaction->document->document_number }}
|
||||
@ -319,25 +319,25 @@
|
||||
</td>
|
||||
@endif
|
||||
|
||||
@if (!$hideReletadContact)
|
||||
@if (!$hideRelatedContact)
|
||||
<td class="quantity" style="color:#525f7f; font-size:13px;">
|
||||
{{ $transaction->document->contact_name }}
|
||||
</td>
|
||||
@endif
|
||||
|
||||
@if (!$hideReletadDocumentDate)
|
||||
@if (!$hideRelatedDocumentDate)
|
||||
<td class="price" style="color:#525f7f; font-size:13px;">
|
||||
@date($transaction->document->due_at)
|
||||
</td>
|
||||
@endif
|
||||
|
||||
@if (!$hideReletadDocumentAmount)
|
||||
@if (!$hideRelatedDocumentAmount)
|
||||
<td class="price" style="color:#525f7f; font-size:13px;">
|
||||
@money($transaction->document->amount, $transaction->document->currency_code, true)
|
||||
</td>
|
||||
@endif
|
||||
|
||||
@if (!$hideReletadAmount)
|
||||
@if (!$hideRelatedAmount)
|
||||
<td class="total" style="color:#525f7f; font-size:13px;">
|
||||
@money($transaction->amount, $transaction->currency_code, true)
|
||||
</td>
|
||||
|
Loading…
x
Reference in New Issue
Block a user