@can('cfdi.create') @if (session('ses_plan_emisor') != 'Free') @if ($item->c_TipoDeComprobante != 'P') @else @endif @endif @endcan @if (session('ses_plan_emisor') != 'Free') exists($item->path) == 1||Storage::disk('private')->exists($item->path)==1 ? '' : 'disabled' }} class="mb-2 mr-2 btn-icon btn-icon-only btn-shadow btn-outline-2x btn btn-success" style="opacity: {{ Storage::disk('public')->exists($item->path) == 1||Storage::disk('private')->exists($item->path)==1 ? '1' : '0.5' }}" data-toggle="modal" data-target=".view_download_pdf" data-backdrop="static" data-keyboard="false" onclick="descargar_pdf('{{ $item->id_comprobante . '/' . $item->uuid }}',{{ $constructora }},'cfd','{{$item->serie}}','{{$item->folio}}','{{session('ses_rfc_emisor')}}'),ruta_pdf('{{ $item->id_comprobante }}','{{ $constructora }}','cfd')"> @endif exists($item->path) == 1||Storage::disk('private')->exists($item->path)==1 ? '' : 'disabled' }} class="mb-2 mr-2 btn-icon btn-icon-only btn-shadow btn-outline-2x btn btn-success" style="opacity: {{ Storage::disk('public')->exists($item->path) == 1||Storage::disk('private')->exists($item->path)==1 ? '1' : '0.5' }}" data-toggle="modal" data-target=".view_download_xml" onclick="ruta_xml('{{ Storage::disk('public')->exists($item->path) == 1||Storage::disk('private')->exists($item->path)==1 ? $item->path : 'ArchivoNoDisponible' }}',null,'{{$item->serie??null}}','{{$item->folio??null}}','{{session('ses_rfc_emisor')}}',{{$item->id_comprobante}})"> @can('cfdi.create') exists($item->path) == 1||Storage::disk('private')->exists($item->path)==1 ? '' : 'disabled' }} class="mb-2 mr-2 btn-icon btn-icon-only btn-shadow btn-outline-2x btn btn-warning" style="opacity: {{ Storage::disk('public')->exists($item->path) == 1||Storage::disk('private')->exists($item->path)==1 ? '1' : '0.5' }}"> @endcan