Add inquiry state styling and fix showing new note in open staying modal

This commit is contained in:
2018-01-04 20:11:19 -03:00
parent 54b8830c0a
commit bb4f0a3c01
2 changed files with 5 additions and 0 deletions
@@ -51,6 +51,8 @@
background-color: #ddd
&.overdue
background-color: #f7da00
&.inquiry
background-color: #ffacec
&.processing, &.active
background-color: #cef
&.rejected
@@ -65,6 +67,8 @@
@extend .title-box-success
&.overdue
@extend .title-box-warning
&.inquiry
@extend .title-box-inquiry
.modal
.workflow-instance-workflow-group-container
@@ -119,6 +119,7 @@ export default ModalBase.extend
event_value: content
event_timestamp: now
new_note_event.save().then =>
@get('model.events').pushObject new_note_event
@set 'new_note_content', ''
#@send 'close'
start_inquiry: ->