Documentation
¶
Index ¶
- Variables
- func ReportsDataHandler(context *admin.Context)
- func ReportsHandler(context *admin.Context)
- func SetupDashboard(Admin *admin.Admin)
- func SetupNotification(Admin *admin.Admin)
- func SetupSEO(Admin *admin.Admin)
- func SetupWidget(Admin *admin.Admin)
- func SetupWorker(Admin *admin.Admin)
- type App
- type Chart
- type Charts
- type Config
- type QorWidgetSetting
- type TodayAfterSalesCount
- type TodayOrdersCount
Constants ¶
This section is empty.
Variables ¶
View Source
var ActionBar *action_bar.ActionBar
ActionBar admin action bar
View Source
var AssetManager *admin.Resource
AssetManager asset manager
View Source
var OrderExchange = exchange.NewResource(&orders.Order{}, exchange.Config{PrimaryField: "order_no"})
OrderExchange order exchange
View Source
var ProductExchange = exchange.NewResource(&products.Product{}, exchange.Config{PrimaryField: "Code"})
ProductExchange product exchange
View Source
var Widgets *widget.Widgets
Functions ¶
func ReportsDataHandler ¶
func ReportsHandler ¶
func SetupNotification ¶
SetupNotification add notification
Types ¶
type App ¶
type App struct {
Config *Config
}
App home app
func (App) ConfigureApplication ¶
func (app App) ConfigureApplication(application *application.Application)
ConfigureApplication configure application
type QorWidgetSetting ¶
type QorWidgetSetting struct {
widget.QorWidgetSetting
// publish2.Version
// publish2.Schedule
// publish2.Visible
l10n.Locale
}
type TodayAfterSalesCount ¶
type TodayOrdersCount ¶
type TodayOrdersCount struct {
// 待取件
ToPickUpToday string
ToPickUpTomorrow string
ToPickUpTomorrow2 string
// 待妥投
ToDeliverToday string
ToDeliverTomorrow string
ToDeliverTomorrow2 string
// 待妥投
ToDeliver string
// 待报单
ToDeclareToday string
ToDeclareTomorrow string
ToDeclareTomorrow2 string
// 约单
ReservedToday string
ReservedYesterday string
ReservedYesterday2 string
YesterdayToDeliver string
TheDayBeforeYesterdayToDeliver string
Reserved string
}
Click to show internal directories.
Click to hide internal directories.