Fix forecast and header (SERVER)

This commit is contained in:
root
2023-09-04 15:42:00 +08:00
parent e2321b9bd5
commit 100d5b668a
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -1295,7 +1295,7 @@ class ReportController extends Controller
{
$user = Auth::user();
$lelong_id_latest_updated_lelkarat = LelKarat::orderBy('updated_at', 'desc')->select('lelong_id')->first();
$lelong_id_latest_updated_lelkarat = LelKarat::orderBy('updated_at', 'desc')->where('harga2', '!=', '0.00')->where('karat', '22.0K')->select('lelong_id')->first();
$lel_karat_all = LelKarat::where('lelong_id', $lelong_id_latest_updated_lelkarat->lelong_id)->select('lelong_id', 'karat', 'harga2', 'updated_at')->get();
$lelong = Lelong::find($lelong_id_latest_updated_lelkarat->lelong_id, ['id', 'cajlelong', 'tarikh_lelong']);