Documentation
¶
Index ¶
- Constants
- func CreateEmailBody(subject string, year int, month int, hours float64, rate float64, ...) string
- func CreatePath(year int, month int) (string, error)
- func PrintInvoiceHistory(months []*models.Invoice)
- func PrintTSHistory(months []*models.Timesheet)
- func PrintTSTable(days []int, total int)
- func SendEmail(year int, month int, db *gorm.DB)
- func WriteInvoice(t int, year int, month int, path string, rate int, rateInt int, nInt int, ...) int
- func WriteTimesheet(path string, year int, month int, exclude []int, db *gorm.DB) int
Constants ¶
View Source
const ( IN_SHEET = "Simple Invoice" IN_DATE = "E4" IN_NUM = "E5" IN_DESC = "A20" IN_UNITS = "C20" IN_RATE = "D20" IN_AMOUNT = "E20" IN_TOTAL = "E37" IN_DESC_INTERVIEWS = "A21" IN_UNITS_INTERVIEWS = "C21" IN_RATE_INTERVIEWS = "D21" IN_AMOUNT_INTERVIEWS = "E21" TIME_FORMAT = "Jan 2, 2006" )
View Source
const ( SHEET_NAME = "Sheet1" TS_PERIOD_START_DATE = "B11" TS_PERIOD_END_DATE = "B12" TS_CONSULTANT_SIGN_DATE = "K22" TS_TOTAL_ROW = "AG15" TS_TOTAL_ALL = "AG19" )
Variables ¶
This section is empty.
Functions ¶
func CreateEmailBody ¶
func PrintInvoiceHistory ¶
func PrintTSHistory ¶
func PrintTSTable ¶
func WriteInvoice ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.