mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 13:12:50 +01:00
Order gateways by is_default
This commit is contained in:
parent
5a31634f81
commit
129a8a0210
@ -306,8 +306,8 @@ class AutoBillInvoice extends AbstractService
|
||||
{
|
||||
|
||||
//get all client gateway tokens and set the is_default one to the first record
|
||||
//$gateway_tokens = $this->client->gateway_tokens()->orderBy('is_default', 'DESC');
|
||||
$gateway_tokens = $this->client->gateway_tokens;
|
||||
$gateway_tokens = $this->client->gateway_tokens()->orderBy('is_default', 'DESC');
|
||||
// $gateway_tokens = $this->client->gateway_tokens;
|
||||
|
||||
$filtered_gateways = $gateway_tokens->filter(function ($gateway_token) use($amount) {
|
||||
|
||||
|
5
resources/views/errors/guest.blade.php
Normal file
5
resources/views/errors/guest.blade.php
Normal file
@ -0,0 +1,5 @@
|
||||
@extends('portal.ninja2020.layout.error')
|
||||
|
||||
@section('title', __('Server Error'))
|
||||
@section('code', '500')
|
||||
@section('message', __($message) ?: 'System Error')
|
Loading…
Reference in New Issue
Block a user