first commit

This commit is contained in:
2026-10-29 13:34:31 +07:00
commit 45e4595c57
255 changed files with 35457 additions and 0 deletions
+41
View File
@@ -0,0 +1,41 @@
<?php
declare(strict_types=1);
namespace App\Command;
use App\Utils\Inv;
use Flight;
use flight\commands\AbstractBaseCommand;
/**
* Generate join all product parameter on single table
*
* Usage: php runway produk:join
*
*/
class ProdukCommand extends AbstractBaseCommand {
/**
* Construct
* @param array<string,mixed> $config From .runway-config.json
*/
public function __construct(array $config) {
parent::__construct('produk:join', 'Generate join all product parameter on single table', $config);
}
/**
* Executes the function
* @return void
*/
public function execute() {
$io = $this->io();
require ($this->projectRoot . '/app/config/runway.php');
$produk = new Inv($app);
$produk->Produk_Join(0);
$io->ok("Done.", true);
}
}