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

family life gift card app #5

Open
wants to merge 69 commits into
base: initial
Choose a base branch
from
Open

family life gift card app #5

wants to merge 69 commits into from

Conversation

andrewroth
Copy link
Collaborator

No description provided.

@andrewroth andrewroth requested a review from knutsenm December 9, 2024 16:24
Copy link

@knutsenm knutsenm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have not looked closely at app/admin stuff, but that part will be proved out in UAT, I expect.

app/models/gift_card_type.rb Outdated Show resolved Hide resolved
app/models/issuance.rb Outdated Show resolved Hide resolved
app/models/issuance.rb Outdated Show resolved Hide resolved
app/models/issuance.rb Show resolved Hide resolved
app/models/issuance.rb Outdated Show resolved Hide resolved
lib/has_numbering.rb Outdated Show resolved Hide resolved
app/models/issuance.rb Show resolved Hide resolved
end

# largest number in certificates represented in x's in format, for all certificates matching format
def largest_existing_number_in_certificate

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will definitely needs tests for this ;-)

app/models/issuance.rb Show resolved Hide resolved
Copy link

@knutsenm knutsenm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note: still must fix 'cap_test' in config/database.yml

app/models/issuance.rb Outdated Show resolved Hide resolved
app/models/issuance.rb Outdated Show resolved Hide resolved
gc.registrations_available = row["numberRegistrations"].to_i
gc.certificate_value = row["certificateValue"].to_d
gc.gl_code = row["glCode"]
gc.created_at = DateTime.parse(row["addDate"]) if row["created_at"]

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
gc.created_at = DateTime.parse(row["addDate"]) if row["created_at"]
gc.created_at = DateTime.parse(row["addDate"]) if row["addDate"]

...perhaps?

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.

2 participants