wip
This commit is contained in:
@@ -99,10 +99,10 @@ class Branch extends Resource
|
||||
->rules('nullable', 'string', 'max:255')
|
||||
->hideFromIndex(),
|
||||
|
||||
Text::make(__('Billing username (Swift)'), 'billing_swift_username')
|
||||
Text::make(__('Billing username (Sber)'), 'billing_sber_username')
|
||||
->rules('nullable', 'string', 'max:255'),
|
||||
|
||||
Text::make(__('Billing password (Swift)'), 'billing_swift_password')
|
||||
Text::make(__('Billing password (Sber)'), 'billing_sber_password')
|
||||
->rules('nullable', 'string', 'max:255')
|
||||
->hideFromIndex(),
|
||||
|
||||
|
||||
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*/
|
||||
public function up(): void
|
||||
{
|
||||
Schema::table('branches', function (Blueprint $table) {
|
||||
$table->string('billing_sber_username')->nullable();
|
||||
$table->string('billing_sber_password')->nullable();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::table('branches', function (Blueprint $table) {
|
||||
$table->dropColumn('billing_sber_username');
|
||||
$table->dropColumn('billing_sber_password');
|
||||
});
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user