vendredi 2 septembre 2022

i use this function but it give me table empty

public function view_details_vide($vide){

    $ets = DB::table('dossier')->leftJoin('rfi', function ($join) {
        $join->on('dossier.code_dossier', '=', 'rfi.code_do');})->leftJoin('rfq', function ($join) {
            $join->on('dossier.code_dossier', '=', 'rfq.code');})->whereNull('rfi.RFI_statut','=',$vide)->orderBy('date_activation','DESC')->first();
     return view('/admin/accueil',['ets'=>$ets]);
}


via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire