You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. <?php
  2. use common\helpers\AdminLTE;
  3. use common\helpers\Price;
  4. ?>
  5. <div class="row">
  6. <div class="col-lg-6 col-xs-6">
  7. <?= AdminLTE::smallBox(
  8. $countProducersActive,
  9. 'Producteurs actifs sur les 3 derniers mois',
  10. 'aqua',
  11. 'user'
  12. ) ?>
  13. </div>
  14. <div class="col-lg-6 col-xs-6">
  15. <?= AdminLTE::smallBox(
  16. $countUsersActive,
  17. 'Clients actifs sur les 3 derniers mois',
  18. 'aqua',
  19. 'users'
  20. ) ?>
  21. </div>
  22. </div>
  23. <div class="row">
  24. <div class="col-lg-6 col-xs-6">
  25. <?= AdminLTE::smallBox(
  26. $countPointSalesActive,
  27. 'Points de vente actifs sur les 3 derniers mois',
  28. 'aqua',
  29. 'map-marker'
  30. ) ?>
  31. </div>
  32. <div class="col-lg-6 col-xs-6">
  33. <?= AdminLTE::smallBox(
  34. $averageOrdersPerDay,
  35. 'Commandes clients / jour sur les 7 derniers jours',
  36. 'aqua',
  37. 'shopping-cart',
  38. Yii::$app->urlManager->createUrl('stats-admin/turnover')
  39. ) ?>
  40. </div>
  41. </div>
  42. <div class="row">
  43. <div class="col-lg-6 col-xs-6">
  44. <?= AdminLTE::smallBox(
  45. $numberVisitsDay,
  46. 'Visites / jour en moyenne sur les 30 derniers jours',
  47. 'aqua',
  48. 'eye'
  49. ) ?>
  50. </div>
  51. <div class="col-lg-6 col-xs-6">
  52. <?= AdminLTE::smallBox(
  53. Price::format($turnoverLastThirtyDays, 0),
  54. 'CA total producteurs sur les 30 derniers jours',
  55. 'aqua',
  56. 'line-chart',
  57. Yii::$app->urlManager->createUrl('stats-admin/turnover')
  58. ) ?>
  59. </div>
  60. </div>
  61. <div class="row">
  62. <div class="col-lg-6 col-xs-6">
  63. <?= AdminLTE::smallBox(
  64. Price::format($amountToBillCurrentMonth, 0),
  65. 'Total factures producteurs mois en cours',
  66. 'green',
  67. 'euro',
  68. Yii::$app->urlManager->createUrl('producer-admin/index')
  69. ) ?>
  70. </div>
  71. <div class="col-lg-6 col-xs-6">
  72. <?= AdminLTE::smallBox(
  73. Price::format($amountBilledLastMonth, 0),
  74. 'Total factures producteurs du mois dernier',
  75. 'green',
  76. 'euro',
  77. Yii::$app->urlManager->createUrl('producer-admin/index')
  78. ) ?>
  79. </div>
  80. </div>
  81. <div class="row">
  82. <div class="col-lg-6 col-xs-6">
  83. <?= AdminLTE::smallBox(
  84. Price::format($amountProducerUnpaidInvoices, 0),
  85. 'Montant factures producteurs impayées',
  86. 'red',
  87. 'euro',
  88. Yii::$app->parameterBag->get('dolibarrUrl') . 'compta/facture/list.php?leftmenu=customers_bills_notpaid&search_status=1'
  89. ) ?>
  90. </div>
  91. </div>