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

Add extra fields and functions to client and quotes and invoices #1029

Open
wants to merge 33 commits into
base: development
Choose a base branch
from

Conversation

novafirst
Copy link

Description

Added a few new fields and additional functions to clients, invoices and quotes modules

List of all new fields:
client_number
invoice_quote_number
invoice_work_order
invoice_agreement
quote_work_order
quote_agreement

Related Issue

https://community.invoiceplane.com/t/topic/10662

Motivation and Context

This is an improvement to already great application. Having ability to have client_number for each client is sometimes mandatory for a larger size company or when billing requires that number.

So in Clients module, added one additional field:
client_number

For Invoices three additional fields and a new function:
invoice_quote_number
invoice_work_order
invoice_agreement

invoice_quote_number -> This is a text field, you can type in a related quote number or using a new function you can select related quote from a list by clicking on Change Related Quote. This will associate the invoice with specific quote and import quote_work_order and quote_agreement values (if any) from the quotes and pass it to invoice_work_order and invoice_agreement.

For Quotes two additional fields:
quote_work_order
quote_agreement

Welcome to any suggestions!

Screenshots (if appropriate):

Pull Request Checklist

  • My code follows the code formatting guidelines.
  • I have an issue ID for this pull request.
  • I selected the corresponding branch.
  • I have rebased my changes on top of the corresponding branch.

Issue Type (Please check one or more)

  • Bugfix
  • Improvement of an existing Feature
  • New Feature

Added client_number to ip_clients table

Added to ip_invoices table:
invoice_quote_number,
invoice_work_order,
invoice_agreement
…e_agreement

Added new fields:

invoice_quote_number,
invoice_work_order,
invoice_agreement,

and resized css styles to accommodate extra fields
Added labels for:

client_number
quote_number
work_order
agreement
Added field client_number to list of quotes
Added entry for related_quote_number
Added related_quote_number instead of quote_number
Changed layout and added quote_work_order and quote_agreement text fields
Alter ip_quotes table to add quote_work_order and quote_agreement
In function validation_rules added

quote_work_order
quote_agreement
In function validation_rules added

invoice_quote_number
invoice_work_order
invoice_agreement
Added quote_work_order and quote_agreement fields
Added quote_work_order and quote_agreement fields
Added quote_work_order and quote_agreement fields
Added invoice_quote_number, invoice_work_order and invoice_agreement
Added invoice_quote_number, invoice_work_order and invoice_agreement
Added option to select related quote number
Added an option to select related quote in invoice module
Added an option to select related quote number in invoice module
Added an option to select related quote number in invoice module
Copy link

@accesslint accesslint bot left a comment

Choose a reason for hiding this comment

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

There are accessibility issues in these changes.

application/modules/quotes/views/view.php Show resolved Hide resolved
application/modules/quotes/views/view.php Show resolved Hide resolved
application/modules/invoices/views/view.php Show resolved Hide resolved
application/modules/invoices/views/view.php Show resolved Hide resolved
application/modules/invoices/views/view.php Show resolved Hide resolved
@novafirst novafirst self-assigned this Feb 7, 2024
@novafirst novafirst added the Feature Request Improvement or Feature Request label Feb 7, 2024
@novafirst novafirst changed the title 1022 add extra fields and functions to client and quotes and invoices Add extra fields and functions to client and quotes and invoices Feb 7, 2024
Added a few options for newly created fields
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request Improvement or Feature Request Needs review
Projects
None yet
1 participant