mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-01 03:14:47 -04:00
fixes for tests
This commit is contained in:
parent
ca99a66390
commit
77ecca3035
@ -43,6 +43,7 @@ class CompanyGateway extends BaseModel
|
|||||||
'custom_value2',
|
'custom_value2',
|
||||||
'custom_value3',
|
'custom_value3',
|
||||||
'custom_value4',
|
'custom_value4',
|
||||||
|
'token_billing',
|
||||||
];
|
];
|
||||||
|
|
||||||
public static $credit_cards = [
|
public static $credit_cards = [
|
||||||
|
@ -26,6 +26,7 @@ class Document extends BaseModel
|
|||||||
*/
|
*/
|
||||||
protected $fillable = [
|
protected $fillable = [
|
||||||
'is_default',
|
'is_default',
|
||||||
|
'is_public',
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
|
@ -23,7 +23,7 @@ class AddIsPublicToDocumentsTable extends Migration
|
|||||||
});
|
});
|
||||||
|
|
||||||
Schema::table('company_gateways', function (Blueprint $table) {
|
Schema::table('company_gateways', function (Blueprint $table) {
|
||||||
$table->string('token_billing')->default('off');
|
$table->enum('token_billing', ['off', 'always','optin','optout'])->default('off');
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user