Merged in hotfix/servercode (pull request #53)

Hotfix/servercode
This commit is contained in:
izzati zulkifli
2024-09-05 09:07:02 +00:00
7 changed files with 328 additions and 5 deletions
+1 -1
View File
@@ -54,7 +54,7 @@ use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Log;
use App\Jobs\HantarMail;
use App\Jobs\WhatsappPemenang;
use App\Jobs\AutoTamatlelong;
use App\Jobs\AutoTamatLelong;
class LelongController extends Controller
{
@@ -1539,7 +1539,7 @@ class LelongMobileController extends Controller
public function portalApi(Request $request)
{
$lelong = LelongBid::select('fasa', 't_lelong')
$lelong = LelongBid::select('fasa', 't_lelong','hargajual','t_jual')
->where([['norujukan', $request->norujukan]])
->first();
return response()->json(['lelong' => $lelong]);