@php use App\Http\Controllers\Mod\ModNegotiation; $proposal_formadd = isset($proposal_formadd)?$proposal_formadd:null; $proposal_validation = isset($proposal_validation)?$proposal_validation:null; $proposal_refresh = isset($proposal_refresh)?$proposal_refresh:null; @endphp
{{-- ACESSO AS FERRAMENTAS DA NEGOCIACAO --}} @if( ModNegotiation::accessTool([ 'idUserResponsible'=>$record_negotiation->idUserResponsible, 'idUserResponsibleClient'=>$record_negotiation->idUserResponsibleClient, 'idUserResponsibleAssistant'=> $record_negotiation->idUserResponsibleAssistant, ]) == 1) @if($proposal_formadd == 1) Nova Proposta @endif @else
@endif {{-- PROPOSTA| OLHAR: OCULTAR/MOSTRAR --}} {{-- ACESSO AS FERRAMENTAS DA NEGOCIACAO --}} @if( ModNegotiation::accessTool([ 'idUserResponsible'=>$record_negotiation->idUserResponsible, 'idUserResponsibleClient'=>$record_negotiation->idUserResponsibleClient, 'idUserResponsibleAssistant'=> $record_negotiation->idUserResponsibleAssistant, ]) == 1) @if($proposal_validation == 1) @endif @if($proposal_refresh == 1) @endif @endif