transaksi_keuntungan new function added

This commit is contained in:
fariz
2021-04-19 08:37:42 +08:00
parent 51825fa8aa
commit 8d347d19b0
2 changed files with 1 additions and 3 deletions
@@ -35,7 +35,7 @@ class TransaksiKeuntunganController extends Controller
public function createTransaksiKeuntungan(Request $request){
$transaksi = TransaksiKeuntungan::on('mysql7')->create([
'norujukan' => $request->norujukan,
'bayaran_keuntungan' => $request->bayaran_keuntungan,
'bayaran_keuntungan' =>$request->bayaran_keuntungan,
'tarikh_bayaran'=> $request->tarikh_bayaran,
'tempoh'=> $request->tempoh,
'kodcaw'=> $request->kodcaw
-2
View File
@@ -168,8 +168,6 @@ $router->group(['prefix'=>'api'], function () use ($router){
$router->get('jumlah_bayaran_pendahuluan/{norujukan}',['uses'=>'TransaksiKeuntunganController@GetjumlahBayaranPendahuluan']); // new added 20210413
//OTP API
$router->post('otp/generateotp/{nokp}',['uses'=>'OtpController@createOtp']);
$router->get('otp/{nokp}',['uses'=>'OtpController@getOtp']);