mouzak
260
13
Laravel

incorrect request

Posted 3 months ago by mouzak

please help me to correct this request

$im=salaries::selectRaw('(nombreparts) as total')->where('salaries.id', $request->id)->first()->total; $data['impot']= DB::table('baremes') ->where('revenubrut','=',$d); if( $im == 1){ ->select('un'); } ->get;

Please sign in or create an account to participate in this conversation.