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

Moving payments migrations models factories to package #3

Conversation

phuclh
Copy link
Contributor

@phuclh phuclh commented Feb 2, 2021

No description provided.

config/payments.php Outdated Show resolved Hide resolved
Copy link
Member

@joshtorres joshtorres left a comment

Choose a reason for hiding this comment

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

Looks good. Thanks for making those changes

Copy link
Member

@drewroberts drewroberts left a comment

Choose a reason for hiding this comment

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

Thank you! 😷

@drewroberts drewroberts merged commit 1b463be into main Feb 5, 2021
@drewroberts drewroberts deleted the feature/moving_payments_migrations_models_factories_to_package branch February 5, 2021 15:52
Copy link
Member

@joshtorres joshtorres left a comment

Choose a reason for hiding this comment

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

looks good

parent::boot();

static::creating(function ($payment) {
if (empty($payment->creator_id) && auth()->check()) {
Copy link
Member

Choose a reason for hiding this comment

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

I think we are moving this out to the Support package per a discussion yesterday. I think @drewroberts said he would put it in HasCreator and HasUpdater traits.

Copy link
Member

Choose a reason for hiding this comment

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

Yes, I'll have someone go through and update the packages once that trait is added.

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.

4 participants