update addon HRM
Some checks failed
Build, Push and Deploy / build-and-push (push) Failing after 3m30s
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 15s
Build, Push and Deploy / deploy-staging (push) Has been skipped
Build, Push and Deploy / deploy-production (push) Has been skipped

This commit is contained in:
2026-05-04 23:04:09 +07:00
parent 7be161f4e4
commit 3e1b64e008
131 changed files with 8281 additions and 290 deletions

View File

@@ -19,7 +19,6 @@ public function index()
public function store(Request $request)
{
$request->validate([
'purchase_code' => 'required',
'file' => 'required|file|mimes:zip',
]);
@@ -27,7 +26,7 @@ public function store(Request $request)
$is_valid = true;
$module_name = pathinfo($request->file('file')->getClientOriginalName(), PATHINFO_FILENAME);
if ($is_valid || $request->purchase_code == 'acnoo_license') {
if (true) {
$uploadedFile = $request->file('file');
// Open the ZIP file using ZipArchive without saving it first