mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-10-30 13:12:56 -04:00 
			
		
		
		
	Show endless for recurring invoices with -1 cycles
This commit is contained in:
		
							parent
							
								
									66d6595a90
								
							
						
					
					
						commit
						cb928833c5
					
				| @ -3360,4 +3360,6 @@ return [ | |||||||
|     'setup_phantomjs_note' => 'Note about Phantom JS. Read more.', |     'setup_phantomjs_note' => 'Note about Phantom JS. Read more.', | ||||||
|     'currency_armenian_dram' => 'Armenian Dram', |     'currency_armenian_dram' => 'Armenian Dram', | ||||||
|     'currency_albanian_lek' => 'Albanian Lek', |     'currency_albanian_lek' => 'Albanian Lek', | ||||||
|  | 
 | ||||||
|  |     'endless' => 'Endless', | ||||||
| ]; | ]; | ||||||
|  | |||||||
| @ -62,7 +62,7 @@ | |||||||
|                                 {{ \App\Utils\Number::formatMoney($invoice->amount, $invoice->client) }} |                                 {{ \App\Utils\Number::formatMoney($invoice->amount, $invoice->client) }} | ||||||
|                             </td> |                             </td> | ||||||
|                             <td class="px-6 py-4 whitespace-no-wrap flex items-center justify-end text-sm leading-5 font-medium"> |                             <td class="px-6 py-4 whitespace-no-wrap flex items-center justify-end text-sm leading-5 font-medium"> | ||||||
|                                 <a href="{{ route('client.recurring_invoices.show', $invoice->hashed_id) }}" class="text-blue-600 hover:text-indigo-900 focus:outline-none focus:underline"> |                                 <a href="{{ route('client.recurring_invoice.show', $invoice->hashed_id) }}" class="text-blue-600 hover:text-indigo-900 focus:outline-none focus:underline"> | ||||||
|                                     @lang('texts.view') |                                     @lang('texts.view') | ||||||
|                                 </a> |                                 </a> | ||||||
|                             </td> |                             </td> | ||||||
|  | |||||||
| @ -43,7 +43,8 @@ | |||||||
|                             {{ ctrans('texts.cycles_remaining') }} |                             {{ ctrans('texts.cycles_remaining') }} | ||||||
|                         </dt> |                         </dt> | ||||||
|                         <dd class="mt-1 text-sm leading-5 text-gray-900 sm:mt-0 sm:col-span-2"> |                         <dd class="mt-1 text-sm leading-5 text-gray-900 sm:mt-0 sm:col-span-2"> | ||||||
|                             {{ $invoice->remaining_cycles }} |                             {{ $invoice->remaining_cycles == '-1' ? ctrans('texts.endless') : $invoice->remaining_cycles }} | ||||||
|  |                             @if($invoice->remaining_cycles == '-1') ∞ @endif
 | ||||||
|                         </dd> |                         </dd> | ||||||
|                     </div> |                     </div> | ||||||
|                     <div class="bg-gray-50 px-4 py-5 sm:grid sm:grid-cols-3 sm:gap-4 sm:px-6"> |                     <div class="bg-gray-50 px-4 py-5 sm:grid sm:grid-cols-3 sm:gap-4 sm:px-6"> | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user