Skip to content

Commit

Permalink
Fix mismatch of suppliers and clients in dashboard
Browse files Browse the repository at this point in the history
Signed-off-by: Xiaoguang Sun <sunxiaoguang@gmail.com>
  • Loading branch information
sunxiaoguang committed Apr 29, 2024
1 parent 5a8c740 commit aafed29
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resources/views/dashboard.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

<div class="row">
<div class="col-lg-2 col-6">
<x-adminlte-small-box title="{{$data['suppliers_count']}}"
<x-adminlte-small-box title="{{$data['customers_count']}}"
text="{{ __('general_content.client_trans_key') }}"
icon="far fa-building"
theme="info"
Expand All @@ -31,7 +31,7 @@
</div>
<!-- ./col -->
<div class="col-lg-2 col-6">
<x-adminlte-small-box title="{{ $data['customers_count'] }}"
<x-adminlte-small-box title="{{ $data['suppliers_count'] }}"
text="{{ __('general_content.suppliers_trans_key') }}"
icon="far fa-building"
theme="success"
Expand Down

0 comments on commit aafed29

Please sign in to comment.