Jump to content
Fórum Script Brasil
  • 0

Laravel: Simulando o CSS Bootstrap class="table" no Tailwinds


Frank K Hosaka

Question

 

arquivo resources > views > notaFornecedor.blade.php
<x-app-layout>
<script>btmenu.innerHTML='Nota do Fornecedor';document.title="Nota do Fornecedor"</script>
<form class="text-center" action="processaNF" method=post enctype="multipart/form-data">
    @csrf
    <input type=file name=arquivo onchange=submit()>
</form>
@if($jatriz)
<div class="container">
<table class="mx-auto border border-separate border-collapse">
<tr class="text-center font-medium"><td>CodForn<td>Cod<td>Produto<td>Qtdade<td>Total
@foreach($jatriz as $vetor)
<tr class="odd:bg-white even:bg-gray"><td class="px-4 py-2">{{$vetor->codforn}}
    <td class="text-right px-4 py-2"><?=$vetor->codprod?>
    <td class="px-4 py-2">{{$vetor->produto}}
    <td class="text-right px-4 py-2">{{intval($vetor->qt)}}
    <td class="text-right px-4 py-2">{{dec($vetor->subtotal)}}
@endforeach
</table>
</div>
@endif
</x-app-layout>

 

Captura de tela 2024-05-13 092032.png

Edited by Frank K Hosaka
Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Forum Statistics

    • Total Topics
      152.1k
    • Total Posts
      652k
×
×
  • Create New...