templates/bos/daily_accounts/account_detail.html.twig line 1

Open in your IDE?
  1. <div class="row">
  2. <div class="col-lg-4 col-md-4 col-sm-6">
  3. <div class="row">
  4. <table class="table table-bordered">
  5. <tbody>
  6. <thead>
  7. <tr>
  8. <th align="center">TRANSACTIONS</th>
  9. <th align="center">EXPENSES</th>
  10. <th align="center">TOTAL</th>
  11. </tr>
  12. </thead>
  13. <tr>
  14. <td align="center">{{ station_daily.amount | number_format }}</td>
  15. <td>
  16. <ol>
  17. {% for expense in expenses %}
  18. <li>{{ expense.expense_name }} - <b>{{ expense.amount | number_format }}</b></li>
  19. {% endfor %}
  20. </ol>
  21. TOTAL:- <b>{{ station_daily.expenses | number_format }}</b>
  22. </td>
  23. <td align="center">{{ (station_daily.amount - station_daily.expenses) | number_format}}</td>
  24. </tr>
  25. </tbody>
  26. </table>
  27. </div>
  28. </div>
  29. <div class="col-lg-4 col-md-4 col-sm-6">
  30. <br>
  31. <a href="{{ path('daily_station_view_account', {'id': station_daily.id}) }}" class="btn btn-warning">view detail</a>
  32. </div>
  33. </div>