mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-04 08:17:32 -05:00 
			
		
		
		
	Add BACS to payment methods
This commit is contained in:
		
							parent
							
								
									380cff056a
								
							
						
					
					
						commit
						974f4b2ca3
					
				@ -9,7 +9,7 @@
 | 
				
			|||||||
                <option>20</option>
 | 
					                <option>20</option>
 | 
				
			||||||
            </select>
 | 
					            </select>
 | 
				
			||||||
        </div>
 | 
					        </div>
 | 
				
			||||||
        <div class="relative" x-data="{ open: false }" x-on:click.away="open = false">
 | 
					        <div class="relative" x-data="{ open: false }" x-on:click.away="open = false">Add BACS
 | 
				
			||||||
            <!-- Add payment method button -->
 | 
					            <!-- Add payment method button -->
 | 
				
			||||||
            @if($client->getCreditCardGateway() || $client->getBankTransferGateway())
 | 
					            @if($client->getCreditCardGateway() || $client->getBankTransferGateway())
 | 
				
			||||||
                <button x-on:click="open = !open" class="button button-primary bg-primary" data-cy="add-payment-method">{{ ctrans('texts.add_payment_method') }}</button>
 | 
					                <button x-on:click="open = !open" class="button button-primary bg-primary" data-cy="add-payment-method">{{ ctrans('texts.add_payment_method') }}</button>
 | 
				
			||||||
@ -25,6 +25,11 @@
 | 
				
			|||||||
                                {{ ctrans('texts.bank_account') }}
 | 
					                                {{ ctrans('texts.bank_account') }}
 | 
				
			||||||
                            </a>
 | 
					                            </a>
 | 
				
			||||||
                        @endif
 | 
					                        @endif
 | 
				
			||||||
 | 
					                        @if($client->getBACSGateway())
 | 
				
			||||||
 | 
					                            <a data-cy="add-bacs-link" href="{{ route('client.payment_methods.create', ['method' => App\Models\GatewayType::BACS]) }}" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100 transition ease-in-out duration-150">
 | 
				
			||||||
 | 
					                                {{ ctrans('texts.bacs') }}
 | 
				
			||||||
 | 
					                            </a>
 | 
				
			||||||
 | 
					                        @endif
 | 
				
			||||||
                    </div>
 | 
					                    </div>
 | 
				
			||||||
                </div>
 | 
					                </div>
 | 
				
			||||||
            @endif
 | 
					            @endif
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user