refactor: mengelompokan datatable dan form ke folder sesuai seperti livewire nya dan mnyesuaikan dengan perubahannya

This commit is contained in:
Yoga Pangestu 2025-10-02 19:18:49 +07:00
parent e1b96b2e2f
commit ed7ffd0d41
58 changed files with 58 additions and 58 deletions

View File

@ -1,6 +1,6 @@
<?php <?php
namespace App\Livewire\Datatable; namespace App\Livewire\Datatable\Studio\Catalog;
use App\Models\Bottle; use App\Models\Bottle;
use App\Traits\Datatable\WithConfiguration; use App\Traits\Datatable\WithConfiguration;

View File

@ -1,6 +1,6 @@
<?php <?php
namespace App\Livewire\Datatable; namespace App\Livewire\Datatable\Studio\Catalog;
use App\Models\Brand; use App\Models\Brand;
use App\Traits\Datatable\WithConfiguration; use App\Traits\Datatable\WithConfiguration;

View File

@ -1,6 +1,6 @@
<?php <?php
namespace App\Livewire\Datatable; namespace App\Livewire\Datatable\Studio\Catalog;
use App\Models\Category; use App\Models\Category;
use App\Traits\Datatable\WithConfiguration; use App\Traits\Datatable\WithConfiguration;

View File

@ -1,6 +1,6 @@
<?php <?php
namespace App\Livewire\Datatable; namespace App\Livewire\Datatable\Studio\Catalog;
use App\Models\Perfume; use App\Models\Perfume;
use App\Traits\Datatable\WithAppendColumn; use App\Traits\Datatable\WithAppendColumn;

View File

@ -1,6 +1,6 @@
<?php <?php
namespace App\Livewire\Datatable; namespace App\Livewire\Datatable\Studio\Catalog;
use App\Models\Product; use App\Models\Product;
use App\Traits\Datatable\WithAppendColumn; use App\Traits\Datatable\WithAppendColumn;

View File

@ -1,6 +1,6 @@
<?php <?php
namespace App\Livewire\Datatable; namespace App\Livewire\Datatable\Studio\Finance;
use App\Models\Expense; use App\Models\Expense;
use App\Traits\Datatable\WithConfiguration; use App\Traits\Datatable\WithConfiguration;

View File

@ -1,6 +1,6 @@
<?php <?php
namespace App\Livewire\Datatable; namespace App\Livewire\Datatable\Studio\Loyalty;
use App\Models\Customer; use App\Models\Customer;
use App\Traits\Datatable\WithAppendColumn; use App\Traits\Datatable\WithAppendColumn;

View File

@ -1,6 +1,6 @@
<?php <?php
namespace App\Livewire\Datatable; namespace App\Livewire\Datatable\Studio\Loyalty;
use App\Models\Tier; use App\Models\Tier;
use App\Traits\Datatable\WithAppendColumn; use App\Traits\Datatable\WithAppendColumn;

View File

@ -1,6 +1,6 @@
<?php <?php
namespace App\Livewire\Datatable; namespace App\Livewire\Datatable\Studio\Loyalty;
use App\Models\Voucher; use App\Models\Voucher;
use App\Traits\Datatable\WithAppendColumn; use App\Traits\Datatable\WithAppendColumn;

View File

@ -1,6 +1,6 @@
<?php <?php
namespace App\Livewire\Datatable; namespace App\Livewire\Datatable\Studio\Master;
use App\Enums\Day; use App\Enums\Day;
use App\Enums\OutletStatus; use App\Enums\OutletStatus;

View File

@ -1,6 +1,6 @@
<?php <?php
namespace App\Livewire\Datatable; namespace App\Livewire\Datatable\Studio\Master;
use App\Enums\UserStatus; use App\Enums\UserStatus;
use App\Models\Employee; use App\Models\Employee;

View File

@ -1,6 +1,6 @@
<?php <?php
namespace App\Livewire\Forms; namespace App\Livewire\Forms\Auth;
use App\Enums\Gender; use App\Enums\Gender;
use App\Enums\UserStatus; use App\Enums\UserStatus;

View File

@ -1,6 +1,6 @@
<?php <?php
namespace App\Livewire\Forms; namespace App\Livewire\Forms\Studio\Catalog;
use App\Models\Bottle; use App\Models\Bottle;
use App\Rules\UnsignedInteger; use App\Rules\UnsignedInteger;

View File

@ -1,6 +1,6 @@
<?php <?php
namespace App\Livewire\Forms; namespace App\Livewire\Forms\Studio\Catalog;
use App\Models\Brand; use App\Models\Brand;
use App\Traits\WithMediaHandler; use App\Traits\WithMediaHandler;

View File

@ -1,6 +1,6 @@
<?php <?php
namespace App\Livewire\Forms; namespace App\Livewire\Forms\Studio\Catalog;
use App\Models\Category; use App\Models\Category;
use Illuminate\Validation\Rule; use Illuminate\Validation\Rule;

View File

@ -1,6 +1,6 @@
<?php <?php
namespace App\Livewire\Forms; namespace App\Livewire\Forms\Studio\Catalog;
use App\Enums\Concentration; use App\Enums\Concentration;
use App\Models\Perfume; use App\Models\Perfume;

View File

@ -1,6 +1,6 @@
<?php <?php
namespace App\Livewire\Forms; namespace App\Livewire\Forms\Studio\Catalog;
use App\Models\Product; use App\Models\Product;
use App\Rules\UnsignedInteger; use App\Rules\UnsignedInteger;

View File

@ -1,6 +1,6 @@
<?php <?php
namespace App\Livewire\Forms; namespace App\Livewire\Forms\Studio\Finance;
use App\Models\Expense; use App\Models\Expense;
use App\Rules\UnsignedInteger; use App\Rules\UnsignedInteger;

View File

@ -1,6 +1,6 @@
<?php <?php
namespace App\Livewire\Forms; namespace App\Livewire\Forms\Studio\Loyalty;
use App\Enums\Gender; use App\Enums\Gender;
use App\Models\Customer; use App\Models\Customer;

View File

@ -1,6 +1,6 @@
<?php <?php
namespace App\Livewire\Forms; namespace App\Livewire\Forms\Studio\Loyalty;
use App\Models\Tier; use App\Models\Tier;
use Livewire\Form; use Livewire\Form;

View File

@ -1,6 +1,6 @@
<?php <?php
namespace App\Livewire\Forms; namespace App\Livewire\Forms\Studio\Loyalty;
use App\Enums\IsActive; use App\Enums\IsActive;
use App\Enums\VoucherType; use App\Enums\VoucherType;

View File

@ -1,6 +1,6 @@
<?php <?php
namespace App\Livewire\Forms; namespace App\Livewire\Forms\Studio\Master;
use App\Enums\Day; use App\Enums\Day;
use App\Enums\OutletStatus; use App\Enums\OutletStatus;

View File

@ -1,6 +1,6 @@
<?php <?php
namespace App\Livewire\Forms; namespace App\Livewire\Forms\Studio\Master;
use App\Enums\Gender; use App\Enums\Gender;
use App\Enums\UserStatus; use App\Enums\UserStatus;

View File

@ -1,6 +1,6 @@
<?php <?php
namespace App\Livewire\Forms; namespace App\Livewire\Forms\Studio\Setting;
use App\Models\User; use App\Models\User;
use App\Traits\WithMediaHandler; use App\Traits\WithMediaHandler;

View File

@ -1,6 +1,6 @@
<?php <?php
namespace App\Livewire\Forms; namespace App\Livewire\Forms\Studio\Setting;
use App\Models\User; use App\Models\User;
use App\Traits\WithMediaHandler; use App\Traits\WithMediaHandler;

View File

@ -1,6 +1,6 @@
<?php <?php
namespace App\Livewire\Forms; namespace App\Livewire\Forms\Studio\Setting;
use App\Enums\Gender; use App\Enums\Gender;
use App\Models\Employee; use App\Models\Employee;

View File

@ -2,7 +2,7 @@
namespace App\Livewire\Studio\Catalog\Bottle; namespace App\Livewire\Studio\Catalog\Bottle;
use App\Livewire\Forms\BottleForm; use App\Livewire\Forms\Studio\Catalog\BottleForm;
use App\Models\Outlet; use App\Models\Outlet;
use App\Traits\WithOutletSelector; use App\Traits\WithOutletSelector;
use App\Traits\WithUpdatedData; use App\Traits\WithUpdatedData;

View File

@ -2,7 +2,7 @@
namespace App\Livewire\Studio\Catalog\Bottle; namespace App\Livewire\Studio\Catalog\Bottle;
use App\Livewire\Forms\BottleForm; use App\Livewire\Forms\Studio\Catalog\BottleForm;
use App\Models\Bottle; use App\Models\Bottle;
use App\Models\Outlet; use App\Models\Outlet;
use App\Traits\WithOutletSelector; use App\Traits\WithOutletSelector;

View File

@ -2,7 +2,7 @@
namespace App\Livewire\Studio\Catalog; namespace App\Livewire\Studio\Catalog;
use App\Livewire\Forms\BrandForm; use App\Livewire\Forms\Studio\Catalog\BrandForm;
use App\Models\Brand as BrandModel; use App\Models\Brand as BrandModel;
use App\Traits\WithCloseModal; use App\Traits\WithCloseModal;
use App\Traits\WithConfirmation; use App\Traits\WithConfirmation;

View File

@ -2,7 +2,7 @@
namespace App\Livewire\Studio\Catalog; namespace App\Livewire\Studio\Catalog;
use App\Livewire\Forms\CategoryForm; use App\Livewire\Forms\Studio\Catalog\CategoryForm;
use App\Models\Category as CategoryModel; use App\Models\Category as CategoryModel;
use App\Traits\WithCloseModal; use App\Traits\WithCloseModal;
use App\Traits\WithConfirmation; use App\Traits\WithConfirmation;

View File

@ -2,7 +2,7 @@
namespace App\Livewire\Studio\Catalog\Perfume; namespace App\Livewire\Studio\Catalog\Perfume;
use App\Livewire\Forms\PerfumeForm; use App\Livewire\Forms\Studio\Catalog\PerfumeForm;
use App\Models\Brand; use App\Models\Brand;
use App\Models\Category; use App\Models\Category;
use App\Models\Outlet; use App\Models\Outlet;

View File

@ -2,7 +2,7 @@
namespace App\Livewire\Studio\Catalog\Perfume; namespace App\Livewire\Studio\Catalog\Perfume;
use App\Livewire\Forms\PerfumeForm; use App\Livewire\Forms\Studio\Catalog\PerfumeForm;
use App\Models\Brand; use App\Models\Brand;
use App\Models\Category; use App\Models\Category;
use App\Models\Outlet; use App\Models\Outlet;

View File

@ -2,7 +2,7 @@
namespace App\Livewire\Studio\Catalog\Product; namespace App\Livewire\Studio\Catalog\Product;
use App\Livewire\Forms\ProductForm; use App\Livewire\Forms\Studio\Catalog\ProductForm;
use App\Models\Outlet; use App\Models\Outlet;
use App\Traits\WithOutletSelector; use App\Traits\WithOutletSelector;
use App\Traits\WithUpdatedData; use App\Traits\WithUpdatedData;

View File

@ -2,7 +2,7 @@
namespace App\Livewire\Studio\Catalog\Product; namespace App\Livewire\Studio\Catalog\Product;
use App\Livewire\Forms\ProductForm; use App\Livewire\Forms\Studio\Catalog\ProductForm;
use App\Models\Outlet; use App\Models\Outlet;
use App\Models\Product; use App\Models\Product;
use App\Traits\WithOutletSelector; use App\Traits\WithOutletSelector;

View File

@ -2,7 +2,7 @@
namespace App\Livewire\Studio\Finance; namespace App\Livewire\Studio\Finance;
use App\Livewire\Forms\ExpenseForm; use App\Livewire\Forms\Studio\Finance\ExpenseForm;
use App\Models\Expense as ExpenseModel; use App\Models\Expense as ExpenseModel;
use App\Traits\WithCloseModal; use App\Traits\WithCloseModal;
use App\Traits\WithConfirmation; use App\Traits\WithConfirmation;

View File

@ -2,7 +2,7 @@
namespace App\Livewire\Studio\Loyalty; namespace App\Livewire\Studio\Loyalty;
use App\Livewire\Forms\CustomerForm; use App\Livewire\Forms\Studio\Loyalty\CustomerForm;
use App\Models\Customer as CustomerModel; use App\Models\Customer as CustomerModel;
use App\Traits\WithCloseModal; use App\Traits\WithCloseModal;
use App\Traits\WithConfirmation; use App\Traits\WithConfirmation;

View File

@ -2,7 +2,7 @@
namespace App\Livewire\Studio\Loyalty; namespace App\Livewire\Studio\Loyalty;
use App\Livewire\Forms\TierForm; use App\Livewire\Forms\Studio\Loyalty\TierForm;
use App\Models\Tier as TierModel; use App\Models\Tier as TierModel;
use App\Traits\WithCloseModal; use App\Traits\WithCloseModal;
use App\Traits\WithConfirmation; use App\Traits\WithConfirmation;

View File

@ -2,7 +2,7 @@
namespace App\Livewire\Studio\Loyalty\Voucher; namespace App\Livewire\Studio\Loyalty\Voucher;
use App\Livewire\Forms\VoucherForm; use App\Livewire\Forms\Studio\Loyalty\VoucherForm;
use App\Models\Outlet; use App\Models\Outlet;
use App\Traits\WithOutletSelector; use App\Traits\WithOutletSelector;
use App\Traits\WithUpdatedData; use App\Traits\WithUpdatedData;

View File

@ -2,7 +2,7 @@
namespace App\Livewire\Studio\Loyalty\Voucher; namespace App\Livewire\Studio\Loyalty\Voucher;
use App\Livewire\Forms\VoucherForm; use App\Livewire\Forms\Studio\Loyalty\VoucherForm;
use App\Models\Outlet; use App\Models\Outlet;
use App\Models\Voucher; use App\Models\Voucher;
use App\Traits\WithOutletSelector; use App\Traits\WithOutletSelector;

View File

@ -3,7 +3,7 @@
namespace App\Livewire\Studio\Master\Outlet; namespace App\Livewire\Studio\Master\Outlet;
use App\Enums\Day; use App\Enums\Day;
use App\Livewire\Forms\OutletForm; use App\Livewire\Forms\Studio\Master\OutletForm;
use App\Traits\Outlet\WithFacilityHandler; use App\Traits\Outlet\WithFacilityHandler;
use App\Traits\WithUpdatedData; use App\Traits\WithUpdatedData;
use Flux\Flux; use Flux\Flux;

View File

@ -3,7 +3,7 @@
namespace App\Livewire\Studio\Master\Outlet; namespace App\Livewire\Studio\Master\Outlet;
use App\Enums\Day; use App\Enums\Day;
use App\Livewire\Forms\OutletForm; use App\Livewire\Forms\Studio\Master\OutletForm;
use App\Models\Outlet; use App\Models\Outlet;
use App\Traits\Outlet\WithFacilityHandler; use App\Traits\Outlet\WithFacilityHandler;
use App\Traits\WithUpdatedData; use App\Traits\WithUpdatedData;

View File

@ -2,7 +2,7 @@
namespace App\Livewire\Studio\Master\User; namespace App\Livewire\Studio\Master\User;
use App\Livewire\Forms\UserForm; use App\Livewire\Forms\Studio\Master\UserForm;
use App\Traits\WithUpdatedData; use App\Traits\WithUpdatedData;
use Flux\Flux; use Flux\Flux;
use Livewire\Attributes\Title; use Livewire\Attributes\Title;

View File

@ -2,7 +2,7 @@
namespace App\Livewire\Studio\Master\User; namespace App\Livewire\Studio\Master\User;
use App\Livewire\Forms\UserForm; use App\Livewire\Forms\Studio\Master\UserForm;
use App\Models\User; use App\Models\User;
use App\Traits\WithUpdatedData; use App\Traits\WithUpdatedData;
use Flux\Flux; use Flux\Flux;

View File

@ -2,7 +2,7 @@
namespace App\Livewire\Studio\Setting; namespace App\Livewire\Studio\Setting;
use App\Livewire\Forms\AccountForm; use App\Livewire\Forms\Studio\Setting\AccountForm;
use App\Models\User; use App\Models\User;
use App\Traits\WithUpdatedData; use App\Traits\WithUpdatedData;
use Flux\Flux; use Flux\Flux;

View File

@ -2,7 +2,7 @@
namespace App\Livewire\Studio\Setting; namespace App\Livewire\Studio\Setting;
use App\Livewire\Forms\PasswordForm; use App\Livewire\Forms\Studio\Setting\PasswordForm;
use App\Models\User; use App\Models\User;
use App\Traits\WithUpdatedData; use App\Traits\WithUpdatedData;
use Flux\Flux; use Flux\Flux;

View File

@ -2,7 +2,7 @@
namespace App\Livewire\Studio\Setting; namespace App\Livewire\Studio\Setting;
use App\Livewire\Forms\ProfileForm; use App\Livewire\Forms\Studio\Setting\ProfileForm;
use App\Models\Employee; use App\Models\Employee;
use App\Traits\WithUpdatedData; use App\Traits\WithUpdatedData;
use Flux\Flux; use Flux\Flux;

View File

@ -2,7 +2,7 @@
namespace App\Traits\Outlet; namespace App\Traits\Outlet;
use App\Livewire\Forms\OutletForm; use App\Livewire\Forms\Studio\Master\OutletForm;
trait WithFacilityHandler trait WithFacilityHandler
{ {

View File

@ -12,7 +12,7 @@ class="text-sm">
</div> </div>
<div class="mt-6"> <div class="mt-6">
<livewire:datatable.bottles-table /> <livewire:datatable.studio.catalog.bottles-table />
</div> </div>
@include('components.confirmation.delete') @include('components.confirmation.delete')

View File

@ -13,7 +13,7 @@
</div> </div>
<div class="mt-6"> <div class="mt-6">
<livewire:datatable.brands-table /> <livewire:datatable.studio.catalog.brands-table />
</div> </div>
@include('components.confirmation.delete') @include('components.confirmation.delete')

View File

@ -13,7 +13,7 @@
</div> </div>
<div class="mt-6"> <div class="mt-6">
<livewire:datatable.categories-table /> <livewire:datatable.studio.catalog.categories-table />
</div> </div>
@include('components.confirmation.delete') @include('components.confirmation.delete')

View File

@ -12,7 +12,7 @@ class="text-sm">
</div> </div>
<div class="mt-6"> <div class="mt-6">
<livewire:datatable.perfumes-table /> <livewire:datatable.studio.catalog.perfumes-table />
</div> </div>
@include('components.confirmation.delete') @include('components.confirmation.delete')

View File

@ -12,7 +12,7 @@ class="text-sm">
</div> </div>
<div class="mt-6"> <div class="mt-6">
<livewire:datatable.products-table /> <livewire:datatable.studio.catalog.products-table />
</div> </div>
@include('components.confirmation.delete') @include('components.confirmation.delete')

View File

@ -13,7 +13,7 @@
</div> </div>
<div class="mt-6"> <div class="mt-6">
<livewire:datatable.expenses-table /> <livewire:datatable.studio.finance.expenses-table />
</div> </div>
@include('components.confirmation.delete') @include('components.confirmation.delete')

View File

@ -13,7 +13,7 @@
</div> </div>
<div class="mt-6"> <div class="mt-6">
<livewire:datatable.customers-table /> <livewire:datatable.studio.loyalty.customers-table />
</div> </div>
@include('components.confirmation.delete') @include('components.confirmation.delete')

View File

@ -13,7 +13,7 @@
</div> </div>
<div class="mt-6"> <div class="mt-6">
<livewire:datatable.tiers-table /> <livewire:datatable.studio.loyalty.tiers-table />
</div> </div>
@include('components.confirmation.delete') @include('components.confirmation.delete')

View File

@ -12,7 +12,7 @@ class="text-sm">
</div> </div>
<div class="mt-6"> <div class="mt-6">
<livewire:datatable.vouchers-table /> <livewire:datatable.studio.loyalty.vouchers-table />
</div> </div>
@include('components.confirmation.delete') @include('components.confirmation.delete')

View File

@ -12,7 +12,7 @@ class="text-sm">
</div> </div>
<div class="mt-6"> <div class="mt-6">
<livewire:datatable.outlets-table /> <livewire:datatable.studio.master.outlets-table />
</div> </div>
@include('components.confirmation.delete') @include('components.confirmation.delete')

View File

@ -12,7 +12,7 @@ class="text-sm">
</div> </div>
<div class="mt-6"> <div class="mt-6">
<livewire:datatable.users-table /> <livewire:datatable.studio.master.users-table />
</div> </div>
@include('components.confirmation.delete') @include('components.confirmation.delete')