/* |-------------------------------------------------------------------------- | APP: RESPOSTA |-------------------------------------------------------------------------- | EXISTE DOIS MODELOS | - LINE | - - ADD: lineAdd('') | - - EDIT: lineEdit('') | - - DEL: lineDel('') | PATH PUGIN: | use App\Models\Resp; | Resp:: lineAdd('url'); | | - MODAL | - - ADD: modalAdd('') | - - EDIT: modalEdit('') | - - DEL: modalDel('') | - - SIMPLES: modalSimple('') | PATH PUGIN: | use App\Models\Resp; | Resp:: modalSimple(url,id); |-------------------------------------------------------------------------- */ |-------------------------------------------------------------------------- | SCRIPT |-------------------------------------------------------------------------- " ; } |-------------------------------------------------------------------------- | ADD/lIST - AJAX |-------------------------------------------------------------------------- | lista as informações e apresenta a mensagem function index($id) { //LIST $record_contact = DB::table('mod_salesorder_contact')->where(['idSalesOrder'=>$id, 'idComp'=>$profile->idComp,'idManager' => $profile->idManager])->take(50)->orderBy('created_at')->get(); | lista as informações e apresenta a mensagem //MENSAGEM $msg_response=Resp::lineAdd('mod-salesorder/views-contact/index'); return view('system/msg-response-line')->with(['record_contact' => $record_contact,'msg_response'=>$msg_response]); }