Commit a6a53076 authored by yova's avatar yova 💫

change origin display

parent 0fa1611d
Pipeline #303 passed with stages
in 4 minutes and 36 seconds
Subproject commit ea854cf06110d4b021b200bea6c467727b1282ac
Subproject commit 73e79b432d7a2014e3dbd49ecbdf43b3a806b325
......@@ -135,7 +135,7 @@
</b-modal>
<!-- ABSTRACT INTENTS -->
<b-tooltip :label="$tc('expense',2)">
<b-tooltip :label="$t('sub-cost-contribs')">
<!-- TODO: make text -->
<b-table :data="absIntents" :checkable="!$store.state.ro" :checked-rows.sync="intentsToJoin"
focusable>
......@@ -144,16 +144,13 @@
{{props.row.label}}
</b-table-column>
<b-table-column field="details" :label="$t('origin')" style="text-align:left;">
<div v-for="inc in includes(props.row.ID)" :key="inc.ID.value">
{{$t('from')}}
<a @click="fillData(inc.processId)" :title='`Focus ${inc.processName}`'>
{{ inc.processName }}
</a>
{{$t('comes')}}
<a @click="fillData(inc.processId)" :title='`Focus ${inc.processName}`'>
{{inc.name}}
</a>
({{ ($store.getters.intentValue(inc.ID)/$store.getters.intentValue(props.row.ID)*100).toFixed(2)}}%).
<div v-for="inc in includes(props.row.ID)" :key="inc.ID.value" :title="`${$t('sub-cost-name')}: ${inc.name}`">
<b-tooltip :label='`Focus ${inc.processName}`'>
<a @click="fillData(inc.processId)">
{{ inc.processName }}
({{ ($store.getters.intentValue(inc.ID)/$store.getters.intentValue(props.row.ID)*100).toFixed(2)}}%).
</a>
</b-tooltip>
</div>
</b-table-column>
<b-table-column numeric :style="styleColor(props.row.label)" sortable :visible='!annualView' field="january" :label="$t('january')">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment