mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-10-31 09:27:33 -04:00 
			
		
		
		
	Updates for partially applied payments
This commit is contained in:
		
							parent
							
								
									a329af2ddd
								
							
						
					
					
						commit
						2aa26a5227
					
				| @ -651,7 +651,7 @@ class TemplateService | ||||
| 
 | ||||
|         return [ | ||||
|             'status' => $payment->stringStatus($payment->status_id), | ||||
|             'badge' => $payment->badgeForStatus($payment->status_id), | ||||
|             'badge' => $payment->badgeForStatus(), | ||||
|             'amount' => Number::formatMoney($payment->amount, $payment->client), | ||||
|             'applied' => Number::formatMoney($payment->applied, $payment->client), | ||||
|             'balance' => Number::formatMoney(($payment->amount - $payment->refunded - $payment->applied), $payment->client), | ||||
|  | ||||
| @ -53,7 +53,7 @@ | ||||
|                 @forelse($recurring_invoices as $recurring_invoice) | ||||
|                     <tr class="bg-white group hover:bg-gray-100"> | ||||
|                         <td class="px-6 py-4 whitespace-nowrap text-sm leading-5 text-gray-500"> | ||||
|                             {!! $recurring_invoice->badgeForStatus($recurring_invoice->status_id) !!} | ||||
|                             {!! $recurring_invoice::badgeForStatus($recurring_invoice->status_id) !!} | ||||
|                         </td> | ||||
|                         <td class="px-6 py-4 whitespace-nowrap text-sm leading-5 text-gray-500"> | ||||
|                             {{ $recurring_invoice->subscription->name }} | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user