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

Skip to content

Invoice settings added#369

Merged
supriya3105 merged 14 commits intodevelopfrom
UI/invoice_settings
May 12, 2022
Merged

Invoice settings added#369
supriya3105 merged 14 commits intodevelopfrom
UI/invoice_settings

Conversation

@Shruti-Apte
Copy link
Contributor

@Shruti-Apte Shruti-Apte commented May 10, 2022

Notion card

https://www.notion.so/saeloun/Payment-settings-on-New-Invoice-ade2b260124d48ff95bd0bed687a5b5c

Summary

Invoice settings added on new invoice

Preview

https://www.loom.com/share/9d4eb5931ea442c498c8a0abe5165be1

https://www.loom.com/share/333e78c362704e3fbc201d4493e24631

Type of change

  • New feature (non-breaking change which adds functionality)

How Has This Been Tested?

Checklist:

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

* checkbox icons added

* checking if project exist

* fixed typo

* spec/models/timesheet_entry_spec.rb updated

* initial commit

* weekly component

* ui refactored

* removed update_project controller

* removed update_project controller

* code refactor

* crashing issue fix

* try catch added in exios request

* code refactor

* DatesInWeek.tsx component added

* minor ui changes

* multiple edit entry bug fixes

* rubocop issue fixed

* removed note validation from rspec

* large client, project name UI fixed

* invoice spec update on invoice.due_date

* fix invoices datacy label typo

fixed root page tests. renamed "invoice-tab" to "invoices-tab"

* migration for note added

* interchange save & cancel button in SelectProject.tsx

* initial commit

* calendar added

* useEffect for dayInfo to entryList

* Akash's changes added

* html entity added

* daily & monthly sync

* total daily hours patch added

* patch added

* patch added

* restored duration validation

* fixed starting day in week

* changed variable names in hhmm-parser.ts

* auto resize textarea added

* default values added

* added functionality in org edit page

* added functionality in org edit page

* Owner or admin can add clients for a company (#126)

* Owner or admin can add clients for a company

* Avoid instance vars in views, pass local vars instead

* Pass local vars to views and toggle new client view display based on validation errors

* Fix UI and support country and timezone

* Configure failure and success messages via locales

* Show total hours logged for each client

* Fix eslint err

* Remove memoization for client

* Keep autofocus only on name

* Refactor client specs

* Bifurcate validations and associations into different describe blocks

* Camelize hash keys when sending to react component

* Use locales for labels

* Extract clients hash merge into a method and split long exp into multiple lines

* Add placeholders for input fields, fix dialog header text and fix locales

* DRY up the styling

* Follow BEM style

* Replace with correct class

* Fix model spec

* Follow BEM style

* Set company_id with other params

* Fix class names

* Move toaster to bottom center with a close button

* Fix robocop issues

* Config modal width as per design

* Fix FactoryBot for client

* conflicts resolved

* revert new changes

* restored client controller

* -5:00 default for crate org page

* default scope added to Client and Project

* added map in client spec

* added map in client spec

* rename variable result to results

* replaced map with match_array

* removed duplicate results

* removed more duplicate results

Co-authored-by: Mohini Dahiya <[email protected]>
Co-authored-by: Apoorv Mishra <[email protected]>
@github-actions
Copy link

Current Code Coverage Percent of this PR:

94.42 %

Files having coverage below 100%

Impacted Files Coverage
/app/controllers/subscriptions_controller.rb 66.67 %
/app/controllers/invoices_controller.rb 63.64 %
/app/models/client.rb 92.68 %
/app/models/invoice.rb 96.3 %
/app/policies/subscriptions_policy.rb 66.67 %
/app/policies/timezone_policy.rb 66.67 %
/app/controllers/invoices/payments_controller.rb 61.11 %
/app/services/invoice_payment/pdf_generation.rb 65.38 %
/app/services/invoice_payment/checkout.rb 43.48 %
/app/controllers/internal_api/v1/timezones_controller.rb 37.5 %
/lib/countries_info.rb 0.0 %

Co-authored-by: “Apoorv <“[email protected]”>
@apoorv1316
Copy link
Collaborator

@Shruti-Apte Please take latest pull from develop and re-run ci jobs again.

@supriya3105 supriya3105 requested a review from apoorv1316 May 12, 2022 08:02
@supriya3105
Copy link
Contributor

@apoorv1316 Please test this locally and merge if working properly.

@supriya3105 supriya3105 merged commit a2a60de into develop May 12, 2022
@supriya3105 supriya3105 deleted the UI/invoice_settings branch May 12, 2022 10:04
vipulnsward pushed a commit that referenced this pull request Feb 15, 2026
* Invoice settings added

* updated default mailer with an env

* Deleted project visible bug (#361)

* checkbox icons added

* checking if project exist

* fixed typo

* spec/models/timesheet_entry_spec.rb updated

* initial commit

* weekly component

* ui refactored

* removed update_project controller

* removed update_project controller

* code refactor

* crashing issue fix

* try catch added in exios request

* code refactor

* DatesInWeek.tsx component added

* minor ui changes

* multiple edit entry bug fixes

* rubocop issue fixed

* removed note validation from rspec

* large client, project name UI fixed

* invoice spec update on invoice.due_date

* fix invoices datacy label typo

fixed root page tests. renamed "invoice-tab" to "invoices-tab"

* migration for note added

* interchange save & cancel button in SelectProject.tsx

* initial commit

* calendar added

* useEffect for dayInfo to entryList

* Akash's changes added

* html entity added

* daily & monthly sync

* total daily hours patch added

* patch added

* patch added

* restored duration validation

* fixed starting day in week

* changed variable names in hhmm-parser.ts

* auto resize textarea added

* default values added

* added functionality in org edit page

* added functionality in org edit page

* Owner or admin can add clients for a company (#126)

* Owner or admin can add clients for a company

* Avoid instance vars in views, pass local vars instead

* Pass local vars to views and toggle new client view display based on validation errors

* Fix UI and support country and timezone

* Configure failure and success messages via locales

* Show total hours logged for each client

* Fix eslint err

* Remove memoization for client

* Keep autofocus only on name

* Refactor client specs

* Bifurcate validations and associations into different describe blocks

* Camelize hash keys when sending to react component

* Use locales for labels

* Extract clients hash merge into a method and split long exp into multiple lines

* Add placeholders for input fields, fix dialog header text and fix locales

* DRY up the styling

* Follow BEM style

* Replace with correct class

* Fix model spec

* Follow BEM style

* Set company_id with other params

* Fix class names

* Move toaster to bottom center with a close button

* Fix robocop issues

* Config modal width as per design

* Fix FactoryBot for client

* conflicts resolved

* revert new changes

* restored client controller

* -5:00 default for crate org page

* default scope added to Client and Project

* added map in client spec

* added map in client spec

* rename variable result to results

* replaced map with match_array

* removed duplicate results

* removed more duplicate results

Co-authored-by: Mohini Dahiya <[email protected]>
Co-authored-by: Apoorv Mishra <[email protected]>

* Invoice settings added

* resolved comments

* disable cypress tests on ci (#374)

Co-authored-by: “Apoorv <“[email protected]”>

* Invoice settings added

* resolved comments

* Invoice settings added

* resolved comments

Co-authored-by: Shruti <[email protected]>
Co-authored-by: Akhil G Krishnan <[email protected]>
Co-authored-by: Abinash <[email protected]>
Co-authored-by: Mohini Dahiya <[email protected]>
Co-authored-by: Apoorv Mishra <[email protected]>
Co-authored-by: Apoorv Tiwari <[email protected]>
Co-authored-by: “Apoorv <“[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.

6 participants