Skip to content

Quick Add Product in Sales Form #5

@Sakemo

Description

@Sakemo

What: Within the SaleFormModal, if the user enters a non-existent product in the autocomplete input, an "Add New Product..." button appears in the list of options. Clicking it opens a simplified ProductFormModal (with only name, price, and category). Upon saving, the SaleFormModal is updated with the new product already selected.

How: A small refactoring in the AutocompleteInput and SaleFormModal to handle this special option.

Value: Eliminates significant friction in the workflow. The user no longer needs to leave the sales screen to add a new item.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions