removed Formatduration and fixed rounding error, working on overtime calculation
This commit is contained in:
@@ -70,7 +70,7 @@ func (b *Booking) Insert() error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (b *Booking) InsertTimestamp() error {
|
||||
func (b *Booking) InsertWithTimestamp() error {
|
||||
if b.Timestamp.IsZero() {
|
||||
return b.Insert()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user