feat(#10): Add per-ledger acquisitions view + ledger column
This commit is contained in:
1 parent
8d73fe3ed1
commit
698156cf00
13 files changed
+156
-104
No files matched your search
@@ -7,6 +7,7 @@ export type AcquiredTypeSource = 'bo' | 'so' | 'prod' | 'misc';
|
||||
|
||||
export type RawAcquiredType = {
|
||||
id: string;
|
||||
ledgerId: string;
|
||||
type: number;
|
||||
quantity: number;
|
||||
remaining: number;
|
||||
@@ -15,8 +16,9 @@ export type RawAcquiredType = {
|
||||
source: ActivitySourceResponse;
|
||||
}
|
||||
|
||||
const toAcquiredType = (a: AcquisitionResponse): RawAcquiredType => ({
|
||||
export const toAcquiredType = (a: AcquisitionResponse): RawAcquiredType => ({
|
||||
id: a.acquisitionId,
|
||||
ledgerId: a.ledgerId,
|
||||
type: a.marketTypeId,
|
||||
quantity: a.quantity,
|
||||
remaining: a.remaining,
|
||||
|
||||
Reference in new issue
Block a user