Compare commits

..

No commits in common. "1fc3738c95d2088cee7082851f65716e22af0c77" and "909e7c787c43618f4d6b3470cb51068d05d2fe5a" have entirely different histories.

457 changed files with 106 additions and 3 deletions

0
.editorconfig Executable file → Normal file
View File

0
.env.example Executable file → Normal file
View File

0
.gitattributes vendored Executable file → Normal file
View File

0
.gitignore vendored Executable file → Normal file
View File

0
README.md Executable file → Normal file
View File

0
app/Helpers/date_helpers.php Executable file → Normal file
View File

0
app/Helpers/encryption_helpers.php Executable file → Normal file
View File

0
app/Helpers/setting_helpers.php Executable file → Normal file
View File

0
app/Helpers/string_helpers.php Executable file → Normal file
View File

0
app/Http/Controllers/Admin/Auth/LoginController.php Executable file → Normal file
View File

View File

View File

0
app/Http/Controllers/Admin/Finance/CashController.php Executable file → Normal file
View File

0
app/Http/Controllers/Admin/Finance/DebtController.php Executable file → Normal file
View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

0
app/Http/Controllers/Admin/Master/UserController.php Executable file → Normal file
View File

View File

View File

0
app/Http/Controllers/Client/HomepageController.php Executable file → Normal file
View File

0
app/Http/Controllers/Controller.php Executable file → Normal file
View File

0
app/Http/Middleware/CheckRole.php Executable file → Normal file
View File

0
app/Http/Requests/Admin/Finance/CashRequest.php Executable file → Normal file
View File

0
app/Http/Requests/Admin/Finance/DebtRequest.php Executable file → Normal file
View File

View File

0
app/Http/Requests/Admin/Finance/ExpenseRequest.php Executable file → Normal file
View File

0
app/Http/Requests/Admin/Finance/PayrollRequest.php Executable file → Normal file
View File

0
app/Http/Requests/Admin/Manage/AttendanceRequest.php Executable file → Normal file
View File

0
app/Http/Requests/Admin/Manage/InventoryRequest.php Executable file → Normal file
View File

0
app/Http/Requests/Admin/Manage/TransactionRequest.php Executable file → Normal file
View File

0
app/Http/Requests/Admin/Master/BarbershopRequest.php Executable file → Normal file
View File

0
app/Http/Requests/Admin/Master/CustomerRequest.php Executable file → Normal file
View File

0
app/Http/Requests/Admin/Master/ServiceRequest.php Executable file → Normal file
View File

0
app/Http/Requests/Admin/Master/UserRequest.php Executable file → Normal file
View File

0
app/Http/Requests/Admin/Setting/ApplicationRequest.php Executable file → Normal file
View File

0
app/Http/Requests/Admin/Setting/PasswordRequest.php Executable file → Normal file
View File

1
app/Http/Requests/Auth/LoginRequest.php Executable file → Normal file
View File

@ -20,6 +20,7 @@ public function rules(): array
return [
'login' => 'required|string|max:255',
'password' => 'required|string|min:8|max:60',
'g-recaptcha-response' => 'recaptcha',
];
}

0
app/Models/Attachment.php Executable file → Normal file
View File

0
app/Models/Attendance.php Executable file → Normal file
View File

0
app/Models/Barbershop.php Executable file → Normal file
View File

0
app/Models/Biography.php Executable file → Normal file
View File

0
app/Models/Cash.php Executable file → Normal file
View File

0
app/Models/Customer.php Executable file → Normal file
View File

0
app/Models/Debt.php Executable file → Normal file
View File

0
app/Models/DepositMoney.php Executable file → Normal file
View File

0
app/Models/Expense.php Executable file → Normal file
View File

0
app/Models/Inventory.php Executable file → Normal file
View File

0
app/Models/Payroll.php Executable file → Normal file
View File

0
app/Models/Role.php Executable file → Normal file
View File

0
app/Models/Service.php Executable file → Normal file
View File

0
app/Models/Setting.php Executable file → Normal file
View File

0
app/Models/Transaction.php Executable file → Normal file
View File

0
app/Models/User.php Executable file → Normal file
View File

0
app/Observers/BarbershopObserver.php Executable file → Normal file
View File

0
app/Observers/ExpenseObserver.php Executable file → Normal file
View File

0
app/Observers/UserObserver.php Executable file → Normal file
View File

0
app/Providers/AppServiceProvider.php Executable file → Normal file
View File

0
app/Providers/RouteServiceProvider.php Executable file → Normal file
View File

0
app/Traits/DeleteAttachment.php Executable file → Normal file
View File

0
app/Traits/NotificationTrait.php Executable file → Normal file
View File

0
app/Traits/UploadAttachment.php Executable file → Normal file
View File

0
bootstrap/app.php Executable file → Normal file
View File

0
bootstrap/cache/.gitignore vendored Executable file → Normal file
View File

0
bootstrap/providers.php Executable file → Normal file
View File

0
composer.json Executable file → Normal file
View File

0
composer.lock generated Executable file → Normal file
View File

0
config/app.php Executable file → Normal file
View File

0
config/auth.php Executable file → Normal file
View File

0
config/cache.php Executable file → Normal file
View File

0
config/database.php Executable file → Normal file
View File

0
config/datatables.php Executable file → Normal file
View File

0
config/filesystems.php Executable file → Normal file
View File

0
config/logging.php Executable file → Normal file
View File

0
config/mail.php Executable file → Normal file
View File

0
config/notify.php Executable file → Normal file
View File

0
config/queue.php Executable file → Normal file
View File

0
config/recaptcha.php Executable file → Normal file
View File

0
config/services.php Executable file → Normal file
View File

0
config/session.php Executable file → Normal file
View File

0
database/.gitignore vendored Executable file → Normal file
View File

0
database/factories/UserFactory.php Executable file → Normal file
View File

View File

View File

View File

View File

View File

View File

View File

@ -18,7 +18,6 @@ public function up(): void
$table->string('name');
$table->decimal('amount', 10, 2);
$table->enum('use_cash', ['1', '2'])->default('2')->comment('1:Yes 2:No');
$table->enum('type', ['1', '2'])->default('1')->comment('1:Bukan Barang 2:Barang');
$table->timestamps();
$table->softDeletes();
});

View File

View File

View File

View File

@ -14,7 +14,6 @@ public function up(): void
Schema::create('transactions', function (Blueprint $table) {
$table->id();
$table->foreignId('user_id')->constrained()->cascadeOnDelete();
$table->foreignId('cashier_id')->constrained('users')->cascadeOnDelete();
$table->foreignId('barbershop_id')->constrained('barbershop')->cascadeOnDelete();
$table->foreignId('customer_id')->constrained()->cascadeOnDelete();
$table->foreignId('service_id')->constrained()->cascadeOnDelete();
@ -22,7 +21,6 @@ public function up(): void
$table->decimal('discount', 8, 2)->default(0);
$table->decimal('total', 9, 2);
$table->enum('payment_method', ['1', '2', '3'])->comment('1:Cash 2:Qris 3:Other');
$table->enum('is_paid', ['0', '1'])->comment('0:belum dibayarkan gaji 1:Sudah dibayarkan gaji')->default('0');
$table->timestamps();
$table->softDeletes();
});

Some files were not shown because too many files have changed in this diff Show More