Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shipping cost added to seed data for distributions with shipping #3853

Conversation

chaitali-khangar
Copy link
Contributor

@chaitali-khangar chaitali-khangar commented Aug 21, 2023

Resolves #3846

Description

Revised the seed file to include shipping costs for distributions with a delivery_method of 'shipped'.

Type of change

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

  • Clear the local database.
  • Execute the bin/setup command.
  • Run a query within the Rails console:
    Distribution.where(delivery_method: "shipped").pluck(:shipping_cost)
  • Review the Distribution screen.

Screenshots

shipping_cost_screen

@chaitali-khangar
Copy link
Contributor Author

@cielf Can you please review this PR.

@dorner dorner merged commit 4884522 into rubyforgood:main Aug 22, 2023
11 checks passed
@dorner
Copy link
Collaborator

dorner commented Aug 22, 2023

Nice, thanks for the contribution!

@chaitali-khangar chaitali-khangar deleted the 3846-update-seed-data-for-distributions branch August 22, 2023 15:25
@cielf cielf changed the title Shipping cost added for distributions with shipping Shipping cost added to seed data for distributions with shipping Aug 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants