This commit is contained in:
e.arrahn
2021-12-01 08:15:07 +08:00
parent 97dfa7474f
commit fc6401dc09
5 changed files with 19 additions and 6 deletions
+3 -2
View File
@@ -24,6 +24,7 @@ use App\Moratorium;
use App\Audit;
use App\Customer;
use App\KomuditiPurchase;
use App\Advansur;
use App\KomuditiTransaksi;
use App\Advansur;
use App\HistoryEmasSandaran;
@@ -310,8 +311,8 @@ class GadaiController extends Controller
$upahsemasa_raw = $bilang_bln * (($gadai_data['kadarupah']/100 )* $gadai_data['pinjaman']);
$upah_semasa_round = number_format($upahsemasa_raw,2);
$upah_semasa = (float)substr($upah_semasa_round, 0, -1);
$upah_semasa = substr($upah_semasa_round, 0, -1);
$upah_semasa = floatval(preg_replace('/[^\d.]/', '', $upah_semasa));
return $upah_semasa;
}
+1 -1
View File
@@ -543,7 +543,7 @@ class LelongController extends Controller
$lelong = Lelong::on($cawangan['mysql'])
->where('norujukan', '=', $request->norujukan)
->where('t_lelong', '=', $current->toDateString())
->where('t_lelong', '<=', $current->toDateString())
->first();
if($lelong)
@@ -21,8 +21,8 @@ class TacExpressPaymentController extends Controller
'expired_at' => $expired_at
]);
// $mobileno = '6'.$request->mobileno;
$mobileno = '60139321786';
$mobileno = '6'.$request->mobileno;
//$mobileno = '60139321786';
$messages = 'AR-RAHN PKB ' . $request->cawangan . ' : TAC: ' . $request->otp_token . ' ' . $currentDateTime . '. AR-RAHN CARELINE CENTRE 1300-22-4343';
$status = Http::get('http://gateway.onewaysms.com.my:10001/api.aspx',[
+1 -1
View File
@@ -1315,7 +1315,7 @@ class TebusController extends Controller
// }
// }
// }
$total = ($keuntungan + $keuntunganreducing);
+12
View File
@@ -413,6 +413,18 @@ return [
'prefix' => '',
'strict' => false,
],
'mysql34' => [
'driver' => 'mysql',
'host' => env('DB_HOST_34'),
'port' => env('DB_PORT_34'),
'database' => env('DB_DATABASE_34'),
'username' => env('DB_USERNAME_34'),
'password' => env('DB_PASSWORD_34'),
'charset' => 'utf8',
'collation' => 'utf8_unicode_ci',
'prefix' => '',
'strict' => false,
],
],
];