Merge pull request #2504 from CihanSenturk/document-show-amount-due
Document show amount due dynamized
This commit is contained in:
commit
142b84d8fb
@ -15,7 +15,7 @@ class GetPaid extends Component
|
|||||||
*/
|
*/
|
||||||
public function render()
|
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');
|
return view('components.documents.show.get-paid');
|
||||||
}
|
}
|
||||||
|
@ -15,7 +15,7 @@ class MakePayment extends Component
|
|||||||
*/
|
*/
|
||||||
public function render()
|
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');
|
return view('components.documents.show.make-payment');
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user