akaunting 3.0 (the last dance)
This commit is contained in:
22
app/View/Components/Documents/Show/GetPaid.php
Normal file
22
app/View/Components/Documents/Show/GetPaid.php
Normal file
@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
namespace App\View\Components\Documents\Show;
|
||||
|
||||
use App\Abstracts\View\Components\Documents\Show as Component;
|
||||
|
||||
class GetPaid extends Component
|
||||
{
|
||||
public $description;
|
||||
|
||||
/**
|
||||
* Get the view / contents that represent the component.
|
||||
*
|
||||
* @return \Illuminate\Contracts\View\View|string
|
||||
*/
|
||||
public function render()
|
||||
{
|
||||
$this->description = trans('general.amount_due') . ': ' . '<span class="font-medium">' . money($this->document->amount, $this->document->currency_code, true) . '</span>';
|
||||
|
||||
return view('components.documents.show.get-paid');
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user