@php use App\Http\Controllers\Mod\ModClientProvider;use App\Http\Controllers\Mod\ModNegotiation;use App\Http\Controllers\Mod\ModSalesOrder;use App\Http\Controllers\ModCronos;use App\Models\Profile;use Illuminate\Support\Facades\Crypt; //PERFIL DO USUARIO $profile = Profile::user(); $id_clientprovider = Crypt::decrypt($id_general); //-------------------------------------------------------------------------------------------------------------- //TAREFAS: CLIENTE $record = ModClientProvider::information(['idClientProvider'=>$id_clientprovider]); //-------------------------------------------------------------------------------------------------------------- //TAREFAS: PEDIDOS $record_list_salesorder = ModSalesOrder::informationSimple([ 'selectString'=>'idSalesOrder', 'idClientProvider'=>$id_clientprovider, 'idUserResponsible'=>$profile->idUser, 'orderBy'=>'orderByDesc', 'orderByName'=>'updated_at', 'optionList'=>'p', 'optionListQtt'=>'10', ]); $record_negotiation_first = ModNegotiation::information([ 'idClientProvider'=>$id_clientprovider, 'orderBy'=>'orderByDesc', 'orderByName'=>'updated_at', ]); $record_list_negotiation = ModNegotiation::information([ 'idClientProvider'=>$id_clientprovider, 'orderBy'=>'orderByDesc', 'orderByName'=>'updated_at', 'optionList'=>'p', 'optionListQtt'=>'10', ]); //RELACIONAMENTO:: STATUS DESATIVADO $relationship_active=2; @endphp {{----}}