Thanks to visit codestin.com
Credit goes to github.com

Skip to content

disable payment nav section and banking details#521

Merged
akhilgkrishnan merged 6 commits intodevelopfrom
disable-payment
Jun 27, 2022
Merged

disable payment nav section and banking details#521
akhilgkrishnan merged 6 commits intodevelopfrom
disable-payment

Conversation

@harshaanNihal
Copy link
Contributor

Notion card

Summary

BEFORE
OnPaste 20220624-155256


AFTER
Screenshot from 2022-06-24 15-39-44

Preview

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to
    not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

Checklist:

  • I have manually tested all workflows
  • I have performed a self-review of my own code
  • I have added automated tests for my code

@github-actions
Copy link

Current Code Coverage Percent of this PR:

88.65 %

Files having coverage below 100%

Impacted Files Coverage
/lib/custom_failure.rb 80.0 %
/app/services/weekly_reminder_for_missed_entries_service.rb 31.82 %
/app/controllers/users/invitations_controller.rb 86.36 %
/app/controllers/users/sessions_controller.rb 85.71 %
/app/services/invoice_payment/checkout.rb 44.0 %
/app/services/invoice_payment/pdf_generation.rb 70.97 %
/app/controllers/internal_api/v1/payment_settings_controller.rb 93.33 %
/app/controllers/internal_api/v1/profile_controller.rb 96.88 %
/app/controllers/internal_api/v1/companies_controller.rb 95.45 %
/app/controllers/internal_api/v1/wise/recipients_controller.rb 90.0 %
/app/controllers/internal_api/v1/payments/providers_controller.rb 94.74 %
/lib/benchmarking/benchmarker.rb 0.0 %

Copy link
Contributor

@gowsik-ragunath gowsik-ragunath left a comment

Choose a reason for hiding this comment

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

Few minor changes need to be made, other than that LGTM!

it { is_expected.to validate_presence_of(:joined_at) }
it { is_expected.to validate_presence_of(:employee_id) }
end
# describe "Validations" do
Copy link
Member

Choose a reason for hiding this comment

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

@harshaanNihal revert this change. Mohini is working on this

Copy link
Contributor Author

@harshaanNihal harshaanNihal Jun 24, 2022

Choose a reason for hiding this comment

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

We can revert back the changes once when the front end/seed data have required changes related to the company_user validation.

# Validations
validates :designation, :employment_type, :joined_at, :employee_id, presence: true
validates :resigned_at, comparison: { greater_than: :joined_at }, unless: -> { resigned_at.nil? }
# validates :designation, :employment_type, :joined_at, :employee_id, presence: true
Copy link
Member

Choose a reason for hiding this comment

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

revert this change. Mohini is working on this

@vipulnsward vipulnsward temporarily deployed to miru-web-pip-disable-pa-5ceagh June 24, 2022 12:38 Inactive
@akhilgkrishnan akhilgkrishnan merged commit fb86746 into develop Jun 27, 2022
@akhilgkrishnan akhilgkrishnan deleted the disable-payment branch June 27, 2022 07:33
vipulnsward pushed a commit that referenced this pull request Feb 15, 2026
* disable payment navtab

* Commented company user related validation

* Removed test cases for company users validation

* revert policy and comment out links directly

* comment out embedded ruby explicitely inside comments

Co-authored-by: Gowsik <[email protected]>
Co-authored-by: Akhil G Krishnan <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants