sirnails / BloomQuote

Quote management app for a florist
2 stars 0 forks source link

Delete Quote #20

Closed sirnails closed 5 months ago

sirnails commented 5 months ago

need to be able to delete a quote

sirnails commented 5 months ago
  1. QuoteController.php: Added functionality to delete quotes. Refactored method names for better clarity. Removed unnecessary whitespace. Updated list quotes view.

  2. Quote.php: Added deleteQuote method to handle deletion of quotes from the database.

  3. QuoteItem.php: Added deleteAllQuoteItems method to handle deletion of all items associated with a specific quote.

  4. footer.php: Updated last updated date and description to reflect the addition of the ability to delete a quote.

  5. navbar.php: Changed the navbar brand link to point to the root URL.

  6. index.php (view): Renamed index.php view file for listing quotes to list_quotes.php.

  7. print.php (view): Updated label from "Bridal Quotation" to "Quotation Issue Date" in the print view.

  8. show.php (view): Added delete button to the quote show view, allowing users to delete a quote with confirmation.

  9. index.php (controller): Updated action 'view_quotes' to call list_quotes method. Added delete_quote action to handle quote deletion process.