Merge pull request #2504 from CihanSenturk/document-show-amount-due

Document show amount due dynamized
This commit is contained in:
Cüneyt Şentürk 2022-07-03 15:20:54 +03:00 committed by GitHub
commit 142b84d8fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ class GetPaid extends Component
*/
public function render()
{
$this->description = trans('general.amount_due') . ': ' . '<span class="font-medium">' . money($this->document->amount, $this->document->currency_code, true) . '</span>';
$this->description = trans('general.amount_due') . ': ' . '<span class="font-medium">' . money($this->document->amount_due, $this->document->currency_code, true) . '</span>';
return view('components.documents.show.get-paid');
}

View File

@ -15,7 +15,7 @@ class MakePayment extends Component
*/
public function render()
{
$this->description = trans('general.amount_due') . ': ' . '<span class="font-medium">' . money($this->document->amount, $this->document->currency_code, true) . '</span>';
$this->description = trans('general.amount_due') . ': ' . '<span class="font-medium">' . money($this->document->amount_due, $this->document->currency_code, true) . '</span>';
return view('components.documents.show.make-payment');
}