Update insert
This commit is contained in:
@@ -55,6 +55,8 @@ class RequestLogController extends Controller
|
||||
{
|
||||
//insert data to organization
|
||||
try {
|
||||
if(!$request->id_provider)
|
||||
{
|
||||
// Memulai transaksi
|
||||
DB::beginTransaction();
|
||||
|
||||
@@ -85,6 +87,8 @@ class RequestLogController extends Controller
|
||||
// Commit transaksi
|
||||
DB::commit();
|
||||
$request->merge(['organization_id' => $organization_id]);
|
||||
}
|
||||
|
||||
$requestLogControllerInstance = new PrimeCenterRequestLog();
|
||||
$response = $requestLogControllerInstance->createNew($request);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user