Skip to content

Commit

Permalink
feat: fix merge issues
Browse files Browse the repository at this point in the history
  • Loading branch information
brunomiguelpinto committed Jan 31, 2025
1 parent 7da4007 commit e92d5f9
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/services/payments/manual_create_service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def invoice

def check_preconditions
return result.not_found_failure!(resource: "invoice") unless invoice
return if invoice.invoice_type == :advance_charges
return if invoice.invoice_type == "advance_charges"
return result.forbidden_failure! if !License.premium? && !invoice.organization.premium_integrations.include?('manual_payments')
result.single_validation_failure!(error_code: "invalid_date", field: "paid_at") unless valid_paid_at?
end
Expand Down
2 changes: 2 additions & 0 deletions schema.graphql

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions schema.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e92d5f9

Please sign in to comment.