fix notis lelong

This commit is contained in:
fifi97
2022-02-02 02:59:15 +08:00
parent 858d06da21
commit 8959f4af8f
4 changed files with 58 additions and 4 deletions
+13 -1
View File
@@ -20,6 +20,7 @@ use App\TransaksiKeuntungan;
use App\Bajet;
use App\BajetTahunan;
use App\Blacklist;
use App\Pelelong;
use DB;
@@ -1490,7 +1491,18 @@ class AdminPageController extends Controller
));
return response()->json($updatetunai, 200);
}
public function UpdateNotisLelong($kodcaw,Request $request){
$cawangan = Cawangan::on('mysql7')->where('kodcaw','=',$kodcaw)->first();
$detailslelong = Pelelong::on($cawangan['mysql'])->
update(array(
'para2'=>$request->content
));
return response()->json($detailslelong, 200);
}
}