mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-19 04:23:55 +00:00
Merge branch 'dillon/74-admin-workflow' into vapor/development
This commit is contained in:
@@ -281,13 +281,20 @@
|
||||
<div class="w-100 d-block text-center">
|
||||
<validation-wrapper-component :validator="$v.answer" class="col">
|
||||
<button v-for="(ans, index) in question.question_answers"
|
||||
:class="{'btn-primary': question.answer && question.answer.answer_option_id === ans.id}"
|
||||
:class="{
|
||||
'btn-primary': question.is_previous && question.answer && question.answer.answer_option_id === ans.id && question.answer.answer !== 'fill_po_edit_filled,not_tally',
|
||||
'btn-danger': question.is_previous && question.answer && question.answer.answer_option_id === ans.id && question.answer.answer === 'fill_po_edit_filled,not_tally'
|
||||
}"
|
||||
:key="index"
|
||||
:answerValue="ans.value" :answerId=ans.id
|
||||
@click="addClass($event, 'question.answers')"
|
||||
style="margin: 15px; padding: 15px 40px; min-width: 210px;">
|
||||
{{ ans.display_text }}
|
||||
{{ ans.value === 'fill_po_edit_filled' && !answer_extra ? '(NOT TALLY)' : '' }}
|
||||
{{
|
||||
(ans.value === 'fill_po_edit_filled' && answer_extra === null && question.is_previous && question.answer.answer === 'fill_po_edit_filled,not_tally') ||
|
||||
(ans.value === 'fill_po_edit_filled' && answer_extra !== null && !answer_extra) ||
|
||||
(ans.value === 'fill_po_edit_filled' && answer_extra === null && !question.is_previous)
|
||||
? '(NOT TALLY)' : '' }}
|
||||
</button>
|
||||
<!-- <div class="col" v-for="ans in question.question_answers">
|
||||
<div class="col question.answers">
|
||||
|
||||
Reference in New Issue
Block a user