Commit graph

1737 commits

Author SHA1 Message Date
Pablo Martín
e9af710ae8 Merged PR 1930: 16879 Remove duplicate field
remove duplicate field

Related work items: #16879
2024-05-28 12:41:13 +00:00
Pablo Martin
3d11622ae1 remove duplicate field 2024-05-28 14:37:48 +02:00
Pablo Martin
40a12df950 a few tiny changes in readme and profiles template 2024-05-28 14:29:31 +02:00
Pablo Martín
b59c0a96fb Merged PR 1923: User Currency
- Ingest the currency table from the backend into DWH.
- Add the newly created `AccountCurrencyId` into the `User` table.
- Push the data to the intermediate user model while replacing the internal superhog currency ID by the ISO4217 code so it's easily joinable with other stuff.

Now, every money amount related to some user in the SQL server backend can be currency-informed instead of currency-less.
2024-05-24 10:03:00 +00:00
Pablo Martin
90f67d6321 include currency in unified user 2024-05-24 11:54:40 +02:00
Pablo Martin
9c293e8bf4 add currency source and stg 2024-05-24 11:32:54 +02:00
Pablo Martin
322fcb8eb0 add id account type to int model 2024-05-23 17:51:04 +02:00
Pablo Martin
69f11c5d4a propagate id account currency 2024-05-23 17:50:08 +02:00
Pablo Martin
5588444943 add account currency id to User model 2024-05-23 17:49:41 +02:00
Pablo Martin
7d8ed7768e reordering some ids 2024-05-23 17:47:52 +02:00
Pablo Martín
d8c5485431 Merged PR 1917: Xero Credit Notes
This PR:
- Brings credit notes into the Xero related models.
- Uses it to create a new net fees reporting table.
- Deletes the old denom mart, since the reporting needs covered by that one are now covered by the new net fees table.

Related work items: #16823, #16827
2024-05-23 14:24:22 +00:00
Pablo Martin
3706a0c21c Revert "remove unnecessary nested objects since they can be joined in dwh"
This reverts commit 4cc9644feb.
2024-05-23 16:23:52 +02:00
Pablo Martin
4cc9644feb remove unnecessary nested objects since they can be joined in dwh 2024-05-23 16:22:02 +02:00
Pablo Martin
e2645814e4 update exposures 2024-05-23 16:15:43 +02:00
Pablo Martin
1f24965a23 remove outdated denom invoicing mart 2024-05-23 16:14:44 +02:00
Pablo Martin
65f5b7377a use date field instead of breaking things down 2024-05-23 16:13:53 +02:00
Pablo Martin
b0528ec2c0 switch to a single model with a case, docs for it 2024-05-23 15:22:42 +02:00
Pablo Martin
b34da23a94 update docs 2024-05-22 11:45:04 +02:00
Pablo Martin
fcb951211d remove a couple of unnecessary cols 2024-05-22 11:44:59 +02:00
Pablo Martin
319c743cec macros docs 2024-05-22 11:42:42 +02:00
Pablo Martin
93c2de6f03 macro logic, need to clean a bit 2024-05-17 17:54:20 +02:00
Pablo Martin
75fe0e510a kind of done, checkpoint before macro-ing 2024-05-17 15:44:58 +02:00
Pablo Martin
fb89652159 added credit note reporting models 2024-05-17 15:27:58 +02:00
Pablo Martin
791cbd47e8 more credit note work 2024-05-17 14:32:06 +02:00
Pablo Martin
8f6e92c187 credit notes intermediate model 2024-05-17 14:32:06 +02:00
Pablo Martin
2faa47e7cb staging model for credit notes 2024-05-17 14:32:06 +02:00
Pablo Martín
79521d723d Merged PR 1863: specifying numeric precision so that pbi doesn't go crazy
specifying numeric precision so that pbi doesn't go crazy
2024-05-17 09:56:48 +00:00
Pablo Martin
22e85af8a5 spoecifying numeric precision so that pbi doesn't go crazy 2024-05-17 11:56:18 +02:00
Pablo Martín
e1af049400 Merged PR 1853: Xero Line Items
Pushes a few Xero models all the way from sync to reporting to enable some business overview stuff.
2024-05-16 15:06:30 +00:00
Pablo Martin
08ea22eee9 docs formatting 2024-05-16 16:22:41 +02:00
Pablo Martin
9068774f35 more docs 2024-05-16 16:06:07 +02:00
Pablo Martin
fa2a79e973 more docs 2024-05-16 16:02:23 +02:00
Pablo Martin
5d2cc0c17b more docs 2024-05-16 15:47:12 +02:00
Pablo Martin
e559c62bd6 updates on schema 2024-05-15 19:20:59 +02:00
Pablo Martin
751219a768 add dependency on exposure 2024-05-15 19:11:28 +02:00
Pablo Martin
4191e4af50 Merge branch 'master' into models/xero-line-items 2024-05-15 15:00:23 +02:00
Pablo Martín
58a675c849 Merged PR 1847: Checkin Hero Complentess Patch
There is a bug in the backend that breaks the completeness query for journeys with checkinhero where the user does not purchase the cover.

This PR deploys a temporary patch that fixes it. A hardcode might have to be removed once the engineering team deals with the situation in the backend.
2024-05-15 12:26:23 +00:00
Pablo Martin
c25a8a7964 add new field in complentess summary 2024-05-15 13:13:57 +02:00
Pablo Martin
7a2663989c exclude checkincover to account for bug 2024-05-15 13:09:27 +02:00
Pablo Martin
eba636b16c a few small details 2024-05-14 16:20:48 +02:00
Pablo Martin
bc4ca1cbc3 lots of currency stuff 2024-05-14 12:26:02 +02:00
Pablo Martin
908ec75d17 denormalized line item table to ease pbi 2024-05-13 18:08:53 +02:00
Pablo Martin
f8fcf7f2b5 reporting models 2024-05-13 16:52:55 +02:00
Pablo Martin
d0b8d4a8df contacts 2024-05-13 16:09:56 +02:00
Pablo Martin
60d462315e fixed typo 2024-05-13 15:53:44 +02:00
Pablo Martin
bfd7267600 line items model 2024-05-13 15:47:53 +02:00
Pablo Martin
a797f85dc2 fix naming 2024-05-13 15:47:44 +02:00
Pablo Martin
9d4b104374 int invoice model 2024-05-13 15:17:46 +02:00
Pablo Martin
824ff8da9e a few quick and dirty improvements 2024-05-10 00:31:27 +02:00
Pablo Martín
a902abfa24 Merged PR 1806: propagating renames
propagating renames
2024-05-08 10:05:28 +00:00