mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-04 03:29:03 -05:00 
			
		
		
		
	Capitalize payment gateway fields
This commit is contained in:
		
							parent
							
								
									b076ed07ea
								
							
						
					
					
						commit
						a31d8b8176
					
				@ -64,11 +64,11 @@
 | 
				
			|||||||
                    && isset($_ENV['DWOLLA_KEY']) && isset($_ENV['DWOLLA_SECRET']))
 | 
					                    && isset($_ENV['DWOLLA_KEY']) && isset($_ENV['DWOLLA_SECRET']))
 | 
				
			||||||
                    {{-- do nothing --}}
 | 
					                    {{-- do nothing --}}
 | 
				
			||||||
                @elseif ($field == 'testMode' || $field == 'developerMode' || $field == 'sandbox')
 | 
					                @elseif ($field == 'testMode' || $field == 'developerMode' || $field == 'sandbox')
 | 
				
			||||||
                    {!! Former::checkbox($gateway->id.'_'.$field)->label(Utils::toSpaceCase($field))->text('Enable')->value('true') !!}
 | 
					                    {!! Former::checkbox($gateway->id.'_'.$field)->label(ucwords(Utils::toSpaceCase($field)))->text('Enable')->value('true') !!}
 | 
				
			||||||
                @elseif ($field == 'username' || $field == 'password')
 | 
					                @elseif ($field == 'username' || $field == 'password')
 | 
				
			||||||
                    {!! Former::text($gateway->id.'_'.$field)->label('API '. ucfirst(Utils::toSpaceCase($field))) !!}
 | 
					                    {!! Former::text($gateway->id.'_'.$field)->label('API '. ucfirst(Utils::toSpaceCase($field))) !!}
 | 
				
			||||||
                @else
 | 
					                @else
 | 
				
			||||||
                    {!! Former::text($gateway->id.'_'.$field)->label($gateway->id == GATEWAY_STRIPE ? trans('texts.secret_key') : Utils::toSpaceCase($field)) !!}
 | 
					                    {!! Former::text($gateway->id.'_'.$field)->label($gateway->id == GATEWAY_STRIPE ? trans('texts.secret_key') : ucwords(Utils::toSpaceCase($field))) !!}
 | 
				
			||||||
                @endif
 | 
					                @endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            @endforeach
 | 
					            @endforeach
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user