Skip to content

Commit

Permalink
patch: COS-6996 Show SLI description on invoice preview (#101)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kasia9090 authored Feb 28, 2025
1 parent e2998d1 commit 10b479a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/routes/src/components/Invoice/ServicesTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,14 @@ export function ServicesTable({
)}
</div>
)}
{isGenerated &&
service?.contractLineItem?.billingCycle ===
BilledType.Once &&
!!service?.contractLineItem?.description?.length && (
<p className='text-xs text-grayModern-500'>
{service?.contractLineItem?.description}
</p>
)}
</div>
</div>
<div className='w-1/6 flex justify-end text-sm text-grayModern-500 leading-5'>
Expand Down

0 comments on commit 10b479a

Please sign in to comment.