Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
contractor-progress.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
really made it so you can put tasks on hold. contractor can switch logins multiple...
[contractor-progress.git]
/
tasks.php
diff --git
a/tasks.php
b/tasks.php
index
19010f8
..
8418502
100644
(file)
--- a/
tasks.php
+++ b/
tasks.php
@@
-141,8
+141,12
@@
function tasks_display_main() {
switch($state) {
case TASK_DRAFT:
case TASK_NEEDS_CLARIFICATION:
switch($state) {
case TASK_DRAFT:
case TASK_NEEDS_CLARIFICATION:
- case TASK_NEEDS_QUOTE:
case TASK_BUG:
case TASK_BUG:
+ case TASK_ON_HOLD:
+ tem_show('normal_edit_link');
+ break;
+ case TASK_NEEDS_QUOTE:
+ tem_show('hold_link');
tem_show('normal_edit_link');
break;
case TASK_NEEDS_GO_AHEAD:
tem_show('normal_edit_link');
break;
case TASK_NEEDS_GO_AHEAD:
@@
-153,6
+157,7
@@
function tasks_display_main() {
case TASK_QUEUED:
tem_show('price_row');
tem_show('warning_edit_link');
case TASK_QUEUED:
tem_show('price_row');
tem_show('warning_edit_link');
+ tem_show('hold_link');
break;
case TASK_WORKING:
tem_show('price_row');
break;
case TASK_WORKING:
tem_show('price_row');