feat: 계좌관리 추가
This commit is contained in:
18
.dockerignore
Normal file
18
.dockerignore
Normal file
@@ -0,0 +1,18 @@
|
||||
node_modules
|
||||
vendor
|
||||
.git
|
||||
.env
|
||||
.env.backup
|
||||
.phpunit.result.cache
|
||||
storage/logs/*
|
||||
storage/framework/cache/*
|
||||
storage/framework/sessions/*
|
||||
storage/framework/views/*
|
||||
bootstrap/cache/*
|
||||
.DS_Store
|
||||
Thumbs.db
|
||||
.idea
|
||||
.vscode
|
||||
*.log
|
||||
npm-debug.log*
|
||||
yarn-debug.log*
|
||||
BIN
.dockerignore:Zone.Identifier
Normal file
BIN
.dockerignore:Zone.Identifier
Normal file
Binary file not shown.
BIN
.editorconfig:Zone.Identifier
Normal file
BIN
.editorconfig:Zone.Identifier
Normal file
Binary file not shown.
BIN
.env:Zone.Identifier
Normal file
BIN
.env:Zone.Identifier
Normal file
Binary file not shown.
BIN
.gitattributes:Zone.Identifier
Normal file
BIN
.gitattributes:Zone.Identifier
Normal file
Binary file not shown.
BIN
.gitignore:Zone.Identifier
Normal file
BIN
.gitignore:Zone.Identifier
Normal file
Binary file not shown.
BIN
CLAUDE.md:Zone.Identifier
Normal file
BIN
CLAUDE.md:Zone.Identifier
Normal file
Binary file not shown.
BIN
CURRENT_WORKS.md:Zone.Identifier
Normal file
BIN
CURRENT_WORKS.md:Zone.Identifier
Normal file
Binary file not shown.
BIN
LOGICAL_RELATIONSHIPS.md:Zone.Identifier
Normal file
BIN
LOGICAL_RELATIONSHIPS.md:Zone.Identifier
Normal file
Binary file not shown.
BIN
README.md:Zone.Identifier
Normal file
BIN
README.md:Zone.Identifier
Normal file
Binary file not shown.
BIN
REMOTE_WORK_SETUP.md:Zone.Identifier
Normal file
BIN
REMOTE_WORK_SETUP.md:Zone.Identifier
Normal file
Binary file not shown.
BIN
app/Console/Commands/CleanupExpiredLinks.php:Zone.Identifier
Normal file
BIN
app/Console/Commands/CleanupExpiredLinks.php:Zone.Identifier
Normal file
Binary file not shown.
BIN
app/Console/Commands/CleanupTempFiles.php:Zone.Identifier
Normal file
BIN
app/Console/Commands/CleanupTempFiles.php:Zone.Identifier
Normal file
Binary file not shown.
BIN
app/Console/Commands/CleanupTrash.php:Zone.Identifier
Normal file
BIN
app/Console/Commands/CleanupTrash.php:Zone.Identifier
Normal file
Binary file not shown.
BIN
app/Console/Commands/FcmPruneInvalidCommand.php:Zone.Identifier
Normal file
BIN
app/Console/Commands/FcmPruneInvalidCommand.php:Zone.Identifier
Normal file
Binary file not shown.
BIN
app/Console/Commands/FcmSendCommand.php:Zone.Identifier
Normal file
BIN
app/Console/Commands/FcmSendCommand.php:Zone.Identifier
Normal file
Binary file not shown.
BIN
app/Console/Commands/FcmTestCommand.php:Zone.Identifier
Normal file
BIN
app/Console/Commands/FcmTestCommand.php:Zone.Identifier
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
app/Console/Commands/Migrate5130Items.php:Zone.Identifier
Normal file
BIN
app/Console/Commands/Migrate5130Items.php:Zone.Identifier
Normal file
Binary file not shown.
BIN
app/Console/Commands/PruneAuditLogs.php:Zone.Identifier
Normal file
BIN
app/Console/Commands/PruneAuditLogs.php:Zone.Identifier
Normal file
Binary file not shown.
BIN
app/Console/Commands/RecordStorageUsage.php:Zone.Identifier
Normal file
BIN
app/Console/Commands/RecordStorageUsage.php:Zone.Identifier
Normal file
Binary file not shown.
BIN
app/Console/Commands/SeedMenuPermissions.php:Zone.Identifier
Normal file
BIN
app/Console/Commands/SeedMenuPermissions.php:Zone.Identifier
Normal file
Binary file not shown.
BIN
app/Console/Commands/TenantsBootstrap.php:Zone.Identifier
Normal file
BIN
app/Console/Commands/TenantsBootstrap.php:Zone.Identifier
Normal file
Binary file not shown.
Binary file not shown.
BIN
app/Console/Kernel.php:Zone.Identifier
Normal file
BIN
app/Console/Kernel.php:Zone.Identifier
Normal file
Binary file not shown.
BIN
app/Constants/SystemFields.php:Zone.Identifier
Normal file
BIN
app/Constants/SystemFields.php:Zone.Identifier
Normal file
Binary file not shown.
BIN
app/Enums/EstimateStatus.php:Zone.Identifier
Normal file
BIN
app/Enums/EstimateStatus.php:Zone.Identifier
Normal file
Binary file not shown.
BIN
app/Enums/OrderStatus.php:Zone.Identifier
Normal file
BIN
app/Enums/OrderStatus.php:Zone.Identifier
Normal file
Binary file not shown.
BIN
app/Exceptions/DuplicateCodeException.php:Zone.Identifier
Normal file
BIN
app/Exceptions/DuplicateCodeException.php:Zone.Identifier
Normal file
Binary file not shown.
BIN
app/Exceptions/Handler.php:Zone.Identifier
Normal file
BIN
app/Exceptions/Handler.php:Zone.Identifier
Normal file
Binary file not shown.
BIN
app/Exports/DailyReportExport.php:Zone.Identifier
Normal file
BIN
app/Exports/DailyReportExport.php:Zone.Identifier
Normal file
Binary file not shown.
BIN
app/Exports/ExpenseEstimateExport.php:Zone.Identifier
Normal file
BIN
app/Exports/ExpenseEstimateExport.php:Zone.Identifier
Normal file
Binary file not shown.
BIN
app/Helpers/ApiResponse.php:Zone.Identifier
Normal file
BIN
app/Helpers/ApiResponse.php:Zone.Identifier
Normal file
Binary file not shown.
BIN
app/Helpers/ItemTypeHelper.php:Zone.Identifier
Normal file
BIN
app/Helpers/ItemTypeHelper.php:Zone.Identifier
Normal file
Binary file not shown.
BIN
app/Helpers/TenantCodeGenerator.php:Zone.Identifier
Normal file
BIN
app/Helpers/TenantCodeGenerator.php:Zone.Identifier
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
app/Http/Controllers/Api/V1/AdminController.php:Zone.Identifier
Normal file
BIN
app/Http/Controllers/Api/V1/AdminController.php:Zone.Identifier
Normal file
Binary file not shown.
Binary file not shown.
BIN
app/Http/Controllers/Api/V1/ApiController.php:Zone.Identifier
Normal file
BIN
app/Http/Controllers/Api/V1/ApiController.php:Zone.Identifier
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
app/Http/Controllers/Api/V1/BillController.php:Zone.Identifier
Normal file
BIN
app/Http/Controllers/Api/V1/BillController.php:Zone.Identifier
Normal file
Binary file not shown.
BIN
app/Http/Controllers/Api/V1/BoardController.php:Zone.Identifier
Normal file
BIN
app/Http/Controllers/Api/V1/BoardController.php:Zone.Identifier
Normal file
Binary file not shown.
BIN
app/Http/Controllers/Api/V1/CardController.php:Zone.Identifier
Normal file
BIN
app/Http/Controllers/Api/V1/CardController.php:Zone.Identifier
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
app/Http/Controllers/Api/V1/ClientController.php:Zone.Identifier
Normal file
BIN
app/Http/Controllers/Api/V1/ClientController.php:Zone.Identifier
Normal file
Binary file not shown.
Binary file not shown.
BIN
app/Http/Controllers/Api/V1/CommonController.php:Zone.Identifier
Normal file
BIN
app/Http/Controllers/Api/V1/CommonController.php:Zone.Identifier
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
app/Http/Controllers/Api/V1/FolderController.php:Zone.Identifier
Normal file
BIN
app/Http/Controllers/Api/V1/FolderController.php:Zone.Identifier
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
app/Http/Controllers/Api/V1/ItemsController.php:Zone.Identifier
Normal file
BIN
app/Http/Controllers/Api/V1/ItemsController.php:Zone.Identifier
Normal file
Binary file not shown.
Binary file not shown.
BIN
app/Http/Controllers/Api/V1/LeaveController.php:Zone.Identifier
Normal file
BIN
app/Http/Controllers/Api/V1/LeaveController.php:Zone.Identifier
Normal file
Binary file not shown.
Binary file not shown.
BIN
app/Http/Controllers/Api/V1/LoanController.php:Zone.Identifier
Normal file
BIN
app/Http/Controllers/Api/V1/LoanController.php:Zone.Identifier
Normal file
Binary file not shown.
52
app/Http/Controllers/Api/V1/MaterialController.php
Normal file
52
app/Http/Controllers/Api/V1/MaterialController.php
Normal file
@@ -0,0 +1,52 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Controllers\Api\V1;
|
||||
|
||||
use App\Helpers\ApiResponse;
|
||||
use App\Http\Controllers\Controller;
|
||||
use App\Http\Requests\Material\MaterialStoreRequest;
|
||||
use App\Http\Requests\Material\MaterialUpdateRequest;
|
||||
use App\Services\MaterialService;
|
||||
use Illuminate\Http\Request;
|
||||
|
||||
class MaterialController extends Controller
|
||||
{
|
||||
public function __construct(private MaterialService $service) {}
|
||||
|
||||
public function index(Request $request)
|
||||
{
|
||||
return ApiResponse::handle(function () use ($request) {
|
||||
return $this->service->getMaterials($request->all());
|
||||
}, __('message.material.fetched'));
|
||||
}
|
||||
|
||||
public function store(MaterialStoreRequest $request)
|
||||
{
|
||||
return ApiResponse::handle(function () use ($request) {
|
||||
// 동적 필드 지원을 위해 전체 입력값 전달 (Service에서 검증)
|
||||
return $this->service->setMaterial($request->all());
|
||||
}, __('message.material.created'));
|
||||
}
|
||||
|
||||
public function show(int $id)
|
||||
{
|
||||
return ApiResponse::handle(function () use ($id) {
|
||||
return $this->service->getMaterial($id);
|
||||
}, __('message.material.fetched'));
|
||||
}
|
||||
|
||||
public function update(MaterialUpdateRequest $request, int $id)
|
||||
{
|
||||
return ApiResponse::handle(function () use ($request, $id) {
|
||||
// 동적 필드 지원을 위해 전체 입력값 전달 (Service에서 검증)
|
||||
return $this->service->updateMaterial($id, $request->all());
|
||||
}, __('message.material.updated'));
|
||||
}
|
||||
|
||||
public function destroy(int $id)
|
||||
{
|
||||
return ApiResponse::handle(function () use ($id) {
|
||||
return $this->service->destroyMaterial($id);
|
||||
}, __('message.material.deleted'));
|
||||
}
|
||||
}
|
||||
Binary file not shown.
BIN
app/Http/Controllers/Api/V1/MenuController.php:Zone.Identifier
Normal file
BIN
app/Http/Controllers/Api/V1/MenuController.php:Zone.Identifier
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user