Refactor company gateways
This commit is contained in:
parent
1c2ba3a53e
commit
f98f2902dc
2 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Reference in a new issue