mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-24 02:14:21 -04:00
Refactor company gateways
This commit is contained in:
parent
1c2ba3a53e
commit
f98f2902dc
@ -125,7 +125,7 @@ class Company extends BaseModel
|
||||
*/
|
||||
public function company_gateways()
|
||||
{
|
||||
return $this->hasMany(CompanyGateway::class)->orderBy('sort_id','ASC');
|
||||
return $this->hasMany(CompanyGateway::class)->orderBy('priority_id','ASC');
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -359,7 +359,7 @@ class CreateUsersTable extends Migration
|
||||
$table->boolean('show_shipping_address')->default(true)->nullable();
|
||||
$table->boolean('update_details')->default(false)->nullable();
|
||||
$table->text('config');
|
||||
$table->unsignedInteger('sort_id')->default(0);
|
||||
$table->unsignedInteger('priority_id')->default(0);
|
||||
|
||||
$table->decimal('min_limit', 13, 2)->nullable();
|
||||
$table->decimal('max_limit', 13, 2)->nullable();
|
||||
|
Loading…
x
Reference in New Issue
Block a user