Skip to content

Commit

Permalink
feat: Show Period and Money in Payouts
Browse files Browse the repository at this point in the history
  • Loading branch information
Schlauer-Hax committed Apr 18, 2023
1 parent 8795bc7 commit c4392e3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pages/admin/views/list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export function listPayouts() {
.addClass("list-title")
.addClass("limited-width"),
Vertical(state.payouts!.map(x =>
Entry(x._id, x.importer + " - " + x.file)
Entry((x.period && x.moneythisperiod) ? `${x.period} - ${x.moneythisperiod}` : 'Converting Data...', `${x._id}, ${x.importer}, ${x.file}`)
)).setGap("1rem"),
] : [
PlainText("No Payouts")
Expand Down
4 changes: 2 additions & 2 deletions pages/admin/views/menu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,12 @@ export const adminMenu = () => Reactive(state, "loaded", () => Menu({
title: `Payout ${getListCount(state.payouts)}`,
items: [
{
title: "Upload Manual xlsx file",
title: "Upload Payout File (.xlsx)",
id: "upload+manual/",
action: () => upload("manual")
},
{
title: "Sync ISRCs",
title: "Sync ISRCs (release_export.xlsx)",
id: "sync+isrc/",
action: () => upload("isrc")
}
Expand Down

0 comments on commit c4392e3

Please sign in to comment.