paymenr order

This commit is contained in:
2024-11-03 21:30:28 +05:00
parent 1c650710b1
commit 62ea6af082
27 changed files with 27049 additions and 3 deletions

BIN
app/Modules/PaymentOrder/.DS_Store vendored Normal file

Binary file not shown.

View File

@@ -0,0 +1,49 @@
<?php
namespace App\Modules\PaymentOrder\Controllers;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
class PaymentOrderController extends Controller
{
/**
* Display a listing of the resource.
*/
public function index(Request $request): void
{
//
}
/**
* Store a newly created resource in storage.
*/
public function store(Request $request): void
{
//
}
/**
* Display the specified resource.
*/
public function show(Request $request): void
{
//
}
/**
* Update the specified resource in storage.
*/
public function update(Request $request): void
{
//
}
/**
* Remove the specified resource from storage.
*/
public function destroy(Request $request): void
{
//
}
}

View File

@@ -0,0 +1,46 @@
<?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::create('payment_orders', function (Blueprint $table) {
$table->id();
$table->string('number')->nullable();
$table->string('money_amount')->nullable();
$table->string('payment_reason_number')->nullable();
$table->text('payment_reason_description')->nullable();
$table->string('bank_code')->nullable();
$table->string('t_name')->nullable();
$table->string('t_ssb')->nullable();
$table->string('t_bab')->nullable();
$table->string('t_bank')->nullable();
$table->string('t_hb_1')->nullable();
$table->string('t_hb_2')->nullable();
$table->string('a_name')->nullable();
$table->string('a_ssb')->nullable();
$table->string('a_bab')->nullable();
$table->string('a_bank')->nullable();
$table->string('a_hb_1')->nullable();
$table->string('a_hb_2')->nullable();
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('payment_orders');
}
};

View File

@@ -0,0 +1,7 @@
<?php
namespace App\Modules\PaymentOrder\Models;
use Illuminate\Database\Eloquent\Model;
class PaymentOrder extends Model {}

View File

@@ -0,0 +1,48 @@
<?php
namespace App\Modules\PaymentOrder;
use App\Modules\Makeable;
use App\Modules\ModuleContract;
class PaymentOrderModule implements ModuleContract
{
use Makeable;
/**
* Module is enabled
*/
protected bool $enabled = true;
/**
* Check if is module enabled
*/
public function isEnabled(): bool
{
return $this->enabled;
}
/**
* Disable module
*/
public function disable(): void
{
$this->enabled = false;
}
/**
* Enable module
*/
public function enable(): void
{
$this->enabled = true;
}
/**
* Check if module has a filament resource
*/
public function hasFilamentResource(): bool
{
return true;
}
}

View File

@@ -0,0 +1,5 @@
<?php
namespace App\Modules\PaymentOrder\Repositories;
class PaymentOrderRepository {}

Binary file not shown.

Binary file not shown.

Binary file not shown.