Skip to content

Instantly share code, notes, and snippets.

View AfesOkta's full-sized avatar

Afes Oktavianus AfesOkta

  • Surabaya, Indonesia
  • 12:56 (UTC +07:00)
View GitHub Profile
@AfesOkta
AfesOkta / 0- install nodejs and redis.sh
Created July 3, 2022 14:43 — forked from moaalaa/0- install nodejs and redis.sh
How to run PM2 with laravel queue and laravel echo server
# Node Js
curl -sL https://rpm.nodesource.com/setup_14.x | sudo bash -
sudo yum install nodejs
node --version
npm --version
# Redis
<?php
namespace App\Services\IN;
use Illuminate\Http\Request;
interface INTransHdrService
{
public function findById($id);
public function findOrderCode($code);
<?php
namespace App\Repositories\IN;
use App\Models\AP\PITransDtl;
use App\Models\AP\PITransHdr;
use App\Models\Inventory\INTransHdr;
use App\Models\Log\CollectedLog;
use App\Models\Setting;
use App\Models\SettingPurchasing;
use App\Models\SettingSales;