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]);
}


from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/GR8650B
via IFTTT

Aucun commentaire:

Enregistrer un commentaire