CaiWuXiTong/resources/views/widgets/cash_flow.blade.php
15061959991 1adf627c0d feat: 财务系统二次开发 - 营销账户账单功能
- 基础环境:Docker 部署配置,源码挂载实时同步
- 修复:super_admin 权限补全、登录重定向循环
- 开发:店铺营销账户账单 - 抖音账户(15字段汇总账单)
- 开发:店铺营销账户账单 - 淘系支付宝账户(8字段流水账单)
- 开发:店铺营销账户账单 - 拼多多账户(7字段流水账单)
- 业务页面导航集成:config/business_navigation.php + Business\Pages 控制器
- 各平台独立表结构和视图,互不影响
2026-07-21 18:43:52 +08:00

54 lines
2.4 KiB
PHP

<div id="widget-{{ $class->model->id }}" class="w-full my-8 px-6">
@include($class->views['header'], ['header_class' => ''])
<div class="flex flex-col-reverse lg:flex-row mt-3">
<div class="w-full lg:w-11/12 apex-chart-cash-flow">
{!! $chart->container() !!}
</div>
<div class="w-full lg:w-1/12 flex flex-row lg:flex-col items-center lg:justify-start justify-center lg:mt-11 space-y-0 sm:space-y-2">
<div class="relative w-32 lg:w-auto flex flex-col items-center sm:justify-between text-center">
<div class="flex justify-end lg:block text-lg">
<x-tooltip id="tooltip-cashflow-incoming" placement="top" message="{{ $totals['incoming_exact'] }}">
{{ $totals['incoming_for_humans'] }}
</x-tooltip>
</div>
<span class="text-green text-xs lg:block">
{{ trans('general.incoming') }}
</span>
<span class="absolute lg:relative lg:block material-icons mt-2 ltr:-right-4 rtl:-left-4 lg:ltr:right-0 lg:rtl:left-0">remove</span>
</div>
<div class="relative w-32 lg:w-auto flex flex-col items-center sm:justify-between">
<div class="flex justify-end lg:block text-lg">
<x-tooltip id="tooltip-cashflow-outgoing" placement="top" message="{{ $totals['outgoing_exact'] }}">
{{ $totals['outgoing_for_humans'] }}
</x-tooltip>
</div>
<span class="text-rose text-xs lg:block">
{{ trans('general.outgoing') }}
</span>
<span class="absolute lg:relative lg:block material-icons mt-2 ltr:-right-4 rtl:-left-4 lg:ltr:right-0 lg:rtl:left-0">drag_handle</span>
</div>
<div class="relative w-32 lg:w-auto flex flex-col items-center sm:justify-between">
<div class="flex justify-end lg:block text-lg">
<x-tooltip id="tooltip-cashflow-profit" placement="top" message="{{ $totals['profit_exact'] }}">
{{ $totals['profit_for_humans'] }}
</x-tooltip>
</div>
<span class="text-purple text-xs lg:block">{{ trans_choice('general.profits', 1) }}</span>
</div>
</div>
</div>
</div>
@push('body_scripts')
{!! $chart->script() !!}
@endpush