commit
3b58a9acfc
|
|
@ -94,11 +94,11 @@
|
|||
<div>
|
||||
<strong>نوع الاجراء:
|
||||
<field name="action_type" widget="badge"
|
||||
decoration-success="action_type in ['first_approve', 'second_approve']"
|
||||
decoration-muted="action_type in ['draft','new']"
|
||||
decoration-danger="action_type in ['refused','suspended_second_approve']"
|
||||
decoration-warning="action_type in ['first_refusal','waiting_approve']"
|
||||
decoration-info="action_type not in ('waiting_approve','draft','new','first_approve', 'second_approve','first_refusal','refused','suspended_second_approve')"/>
|
||||
decoration-muted="action_type in ['new']"
|
||||
decoration-info="action_type in ['edit_info']"
|
||||
decoration-success="action_type in ['approved']"
|
||||
decoration-danger="action_type in ['suspended']"
|
||||
decoration-warning="action_type in ['exception']"/>
|
||||
</strong>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue