Documentation
¶
Overview ¶
Package clients provides client CRM commands for GitScrum CLI
Index ¶
- func NewCmdClients(f *factory.Factory) *cobra.Command
- func NewCmdClientsCreate(f *factory.Factory) *cobra.Command
- func NewCmdClientsProjects(f *factory.Factory) *cobra.Command
- func NewCmdClientsStats(f *factory.Factory) *cobra.Command
- func NewCmdClientsView(f *factory.Factory) *cobra.Command
- type Client
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmdClients ¶
NewCmdClients creates the clients command group
func NewCmdClientsCreate ¶
NewCmdClientsCreate creates a new client
func NewCmdClientsProjects ¶
NewCmdClientsProjects lists client projects
func NewCmdClientsStats ¶
NewCmdClientsStats shows client statistics
Types ¶
type Client ¶
type Client struct {
UUID string `json:"uuid"`
RefCode string `json:"ref_code"`
Name string `json:"name"`
Email string `json:"email"`
Phone string `json:"phone"`
Website string `json:"website"`
ProjectsCount int `json:"projects_count"`
InvoicesCount int `json:"invoices_count"`
ProposalsCount int `json:"proposals_count"`
ChangeRequestsCount int `json:"change_requests_count"`
TotalPaid int `json:"total_paid"`
TotalPending int `json:"total_pending"`
HasOverdue bool `json:"has_overdue"`
CreatedAt *api.DateResource `json:"created_at"`
}
Client represents a contact company (matches ContactCompanyResource.php)
Click to show internal directories.
Click to hide internal directories.