Merge pull request #2504 from CihanSenturk/document-show-amount-due
Document show amount due dynamized
This commit is contained in:
		@@ -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');
 | 
			
		||||
    }
 | 
			
		||||
 
 | 
			
		||||
@@ -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');
 | 
			
		||||
    }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user