 @foreach ($isi->pengeluaran()->get() as $p)
     <tr>
         <td class="text-center">{{ $no++ }}</td>
         <td>
             <span class='edit'>{{ $p->nm_barang }}</span>
             <input type='text' class='txtedit form-control' value='{{ $p->nm_barang }}' id='{{ $p->id }}'
                 data-fl="nm_barang">
         </td>
         <td class="text-right">
             <span class='edit'> {{ number_format($p->harga, 0, ',', '.') }}</span>
             <input type='text' class='txtedit form-control' value='{{ $p->harga }}' id='{{ $p->id }}'
                 data-fl="harga">
         </td>
         <td class="text-center" style="background-color: rgb(252, 237, 237)">
             <span class='edit'>{{ number_format($p->jml, 0, ',', '.') }}</span>
             <input type='text' class='txtedit form-control' value='{{ $p->jml }}' id='{{ $p->id }}'
                 data-fl="jml">
         </td>
         <td class="text-right">{{ number_format($p->harga * $p->jml, 0, ',', '.') }}</td>
         <td class="text-center"><a class="btn btn-sm text-danger hapus" data-id="{{ $p->id }}"
                 data-nm="{{ $p->nm_barang }}"><i class="fa fa-trash"></i></a></td>
     </tr>
 @endforeach

 <script>
     $(".txtedit").hide();
 </script>
