Skip to content

Commit

Permalink
Update paths for shopping cart reports
Browse files Browse the repository at this point in the history
  • Loading branch information
ryscher authored Oct 8, 2024
1 parent b4ff134 commit 2558b70
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions documentation/reports.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,13 @@ year) generated by combining multiple shopping_cart_reports.

Run the deferred payment reports with a command like:
```
cp ~/journal-payments/shoppingcart/shopping_cart_report_2023* /tmp
cp ~/journal-payments/shoppingcart/2024/* /tmp
# This command must be run on the v3-prod server, to access the production database
RAILS_ENV=v3_production bundle exec rails identifiers:deferred_journal_reports -- --sc_report /tmp/shopping_cart_report_2024-Q1.csv
```

Copy the resultant files into their respective places in `~/journal-payments/`

### Tiered payment reports

For journals that have a tiered payment plan, a secondary task generates PDF
Expand All @@ -81,7 +83,7 @@ file.
Run the tiered journal payment reports with a command like:
```
# This command must be run in a personal account with the journal-payments checked out
cp ~/journal-payments/shoppingcart/shopping_cart_report_2023* /tmp
cp ~/journal-payments/shoppingcart/2024* /tmp
# This command must be run on the production server, to access the production database
RAILS_ENV=v3_production bundle exec rails identifiers:tiered_journal_reports -- --sc_report /tmp/shopping_cart_report_2023-Q1.csv --base_report /tmp/shopping_cart_report_2023.csv
Expand All @@ -95,12 +97,14 @@ shopping_cart_report as above.
Run the tiered institution payment reports with a command like:
```
# This command must be run in a personal account with the journal-payments checked out
cp ~/journal-payments/shoppingcart/shopping_cart_report_2023* /tmp
cp ~/journal-payments/shoppingcart/2024* /tmp
# This command must be run on the production server, to access the production database
RAILS_ENV=v3_production bundle exec rails identifiers:tiered_tenant_reports -- --sc_report tmp/shopping_cart_report_2023-Q1.csv --base_report /tmp/shopping_cart_report_2023.csv
```

Copy the resultant files into their respective places in `~/journal-payments/`

Dataset info report
===================

Expand Down

0 comments on commit 2558b70

Please sign in to comment.