Repository navigation
Link customer names to their manage form on the customers page - #36
Merged
Merged
Conversation
- Customer names in the Andelsbiodling and Lammandel booking tables, their invoice tables and the Sales list are now links to /customers?manage=<id>. Sales that only have a free-text name stay plain text. - The Customers page reads ?manage=<id> on load and clicks that customer's Manage button, so the form opens with the usual data, then removes the parameter from the URL so a refresh does not reopen it. An unknown id just shows the normal page. Tests cover the links in the booking, invoice and sales lists (including the free-text sale) and the page markup that opens the form.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Tests cover the links in the booking, invoice and sales lists (including the free-text sale) and the page markup that opens the form.