mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-18 13:50:31 +00:00
fix(sorting): add the missing the resources columns.
This commit is contained in:
@@ -16,4 +16,29 @@ export default class ExchangeRate extends TenantModel {
|
||||
get timestamps() {
|
||||
return ['createdAt', 'updatedAt'];
|
||||
}
|
||||
|
||||
/**
|
||||
* Model defined fields.
|
||||
*/
|
||||
static get fields(){
|
||||
return {
|
||||
currency_code: {
|
||||
label: 'Currency',
|
||||
column: 'currency_code'
|
||||
},
|
||||
exchange_rate: {
|
||||
label: 'Exchange rate',
|
||||
column: 'exchange_rate',
|
||||
},
|
||||
date: {
|
||||
label: 'Date',
|
||||
column: 'date',
|
||||
},
|
||||
created_at: {
|
||||
label: "Created at",
|
||||
column: "created_at",
|
||||
columnType: "date",
|
||||
},
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user