<tr>
  <td>EP {{$avance->numero}}</td>
  <td>{{$avance->pagare()->id}}</td>
  <td style="min-width: 150px;">
    <div class="progress">
      <div class="progress-bar" style="width: {{round($avance->avance * 100, 2)}}%">
        <span class="sr-only">{{format('percent', round($avance->avance * 100, 2))}}%</span>
        @if ($avance->avance > 0.3)
          {{format('percent', round($avance->avance * 100, 2))}}%
        @endif
      </div>
      <div class="progress-bar progress-bar-warning" style="width: {{round(100 - $avance->avance * 100, 2)}}%">
        <span class="sr-only">{{format('percent', round(100 - $avance->avance * 100, 2))}}%</span>
        @if ($avance->avance <= 0.3)
          {{format('percent', round($avance->avance * 100, 2))}}%
        @endif
      </div>
    </div>
  </td>
  <td>{{format('shortDate', $avance->fecha)}}</td>
  <td>{{format('ufs', $avance->estado_pago)}}</td>
  <td>{{format('shortDate', $avance->pagare()->fecha)}}</td>
  <td>{{format('ufs', $avance->pagare()->valor())}}</td>
  <th>{{format('ufs', $total_avance)}}</th>
  <th>{{format('ufs', $total_deuda)}}</th>
  <th>{{format('ufs', $total_dif)}}</th>
</tr>
