Skip to content

[Invoices]: : on invoice creation, if user is not a client, add to database in clients also #77

Closed

Description

@nielsdrost7

Context


[Invoice]: on invoice creation, if user is not a client, add to database in clients also


Specific:

All date fields within creation forms across the application should pre-populate with the current date.

Measurable:

100% of creation forms will successfully display the current date in all relevant date fields upon page load.

Achievable:

Utilizing Laravel's built-in date functionality and form request validation, this can be implemented within the existing codebase.

Relevant:

This ensures data accuracy and consistency by automatically populating the date field, reducing user error and improving overall data integrity.

Time-bound:

This functionality will be implemented and thoroughly tested by the end of the sprint, Friday, October 27th, 2023.


Arrange:

Create a new instance of each model with a creation form containing date fields. Populate a test database with necessary data for related models if applicable.

Act:

Visit each creation form URL in the application.

Assert:

Assert that each date field in every creation form displays the current date (within acceptable tolerance for time differences). Verify that the date format is consistent across all forms.


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions