Closed sirnails closed 5 months ago
QuoteController.php: Added functionality to delete quotes. Refactored method names for better clarity. Removed unnecessary whitespace. Updated list quotes view.
Quote.php: Added deleteQuote method to handle deletion of quotes from the database.
QuoteItem.php: Added deleteAllQuoteItems method to handle deletion of all items associated with a specific quote.
footer.php: Updated last updated date and description to reflect the addition of the ability to delete a quote.
navbar.php: Changed the navbar brand link to point to the root URL.
index.php (view): Renamed index.php view file for listing quotes to list_quotes.php.
print.php (view): Updated label from "Bridal Quotation" to "Quotation Issue Date" in the print view.
show.php (view): Added delete button to the quote show view, allowing users to delete a quote with confirmation.
index.php (controller): Updated action 'view_quotes' to call list_quotes method. Added delete_quote action to handle quote deletion process.
need to be able to delete a quote