generated from liutk/owl-admin-base
Update
parent
650c60b9f7
commit
4ae7fbfe8f
|
|
@ -50,6 +50,7 @@ class StoreStatisticController extends AdminController
|
|||
amis()->TableColumn('store.title', '门店'),
|
||||
amis()->TableColumn('sales', '收入')->sortable(),
|
||||
amis()->TableColumn('expenditure', '支出')->sortable(),
|
||||
amis()->TableColumn('new_customers', '累计人数')->sortable(),
|
||||
])
|
||||
)
|
||||
);
|
||||
|
|
@ -122,6 +123,7 @@ class StoreStatisticController extends AdminController
|
|||
'门店' => Arr::get($row, 'store.title'),
|
||||
'收入' => $row['sales'],
|
||||
'支出' => $row['expenditure'],
|
||||
'new_customers' => $row['new_customers'],
|
||||
];
|
||||
});
|
||||
} catch (\Throwable $e) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue