Skip to content
This repository was archived by the owner on Jan 2, 2025. It is now read-only.

Handle incorrect billable? value in client #6

Open
FreekPaans opened this issue Mar 31, 2017 · 1 comment
Open

Handle incorrect billable? value in client #6

FreekPaans opened this issue Mar 31, 2017 · 1 comment
Labels

Comments

@FreekPaans
Copy link
Contributor

You can't mark an entry as billable when task billing method is :fixed-price or :overhead, enforce this in frontend.

@jeroenheijmans
Copy link
Member

Ah, yeah, I encountered an issue where I posted an entry but got his back:

HTTP ERROR: 500

Problem accessing /entry/2017-04-18. Reason:

Assert failed: entry can only be billable when task billing method in #{:hourly :hourly}
(valid-billable? value for-task)

Caught me by surprise :-)

(Seems to be the same issue, just wanted to add some detail.)

@FreekPaans FreekPaans added the ux label May 3, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants