Format dollar amount
This commit is contained in:
parent
588584ccee
commit
18c3354519
@ -1,5 +1,6 @@
|
||||
import Modal from '../../mixins/modal'
|
||||
import LocalDatetime from '../../components/local_datetime'
|
||||
import { formatDollars } from '../../lib/dollars'
|
||||
|
||||
export default {
|
||||
name: 'requests-list',
|
||||
@ -47,6 +48,7 @@ export default {
|
||||
request.name.toLowerCase().includes(query.toLowerCase()) :
|
||||
true
|
||||
)
|
||||
}
|
||||
},
|
||||
dollars: (value) => formatDollars(value, false),
|
||||
},
|
||||
}
|
||||
|
@ -126,7 +126,7 @@
|
||||
<td><local-datetime :timestamp="r.last_edited_timestamp" format="M/D/YYYY"></td>
|
||||
<td>!{ r.full_name }</td>
|
||||
{% endif %}
|
||||
<td>!{ r.annual_usage }</td>
|
||||
<td>!{ dollars(r.annual_usage) }</td>
|
||||
<td>
|
||||
<a v-if="r.is_approved" class="icon-link icon-link--large" :href="r.workspace_link">
|
||||
!{ r.status }
|
||||
|
Loading…
x
Reference in New Issue
Block a user