Skip to content

Commit 2ffc587

Browse files
committed
Add ai based descriptions
1 parent 2d1b149 commit 2ffc587

File tree

3 files changed

+21
-0
lines changed

3 files changed

+21
-0
lines changed

projects/budgetkey/src/app/item/items/item-budget-changes/item-budget-changes.component.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@
6969
<thead>
7070
<th>קוד</th>
7171
<th>תכנית</th>
72+
<th><i class='bk-tooltip-anchor ai-icon'><span class='bk-tooltip'>ניתוח מבוסס AI של דברי ההסבר</span></i> הסבר השינוי</th>
7273
<th>שינוי<br/> בהוצאה נטו</th>
7374
<th>שינוי<br/> בהוצאה מותנית</th>
7475
<th>שינוי<br/> בהרשאה להתחייב</th>
@@ -115,6 +116,9 @@
115116
<td>
116117
{{ change.budget_code_title.split(':')[1] }}
117118
</td>
119+
<td>
120+
{{ change.ai_change_explanation }}
121+
</td>
118122
<td>
119123
<span class='number'>{{ format.number(change.net_expense_diff) }}</span>
120124
</td>
Lines changed: 7 additions & 0 deletions
Loading

projects/budgetkey/src/common.less

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,3 +165,13 @@
165165
transform: translate3d(calc(200px + 100vw), 0, 0);
166166
}
167167
}
168+
169+
.ai-icon {
170+
width: 24px;
171+
height: 24px;
172+
background-image: url(assets/img/icon-ai.svg);
173+
background-size: cover;
174+
background-repeat: no-repeat;
175+
background-position: center;
176+
display: inline-block !important;
177+
}

0 commit comments

Comments
 (0)