Order information exporting in Excel-format

This commit is contained in:
2023-05-28 02:08:26 +03:00
parent 57da4eae55
commit 0f49dc2bf8
8 changed files with 155 additions and 1 deletions

View File

@@ -45,6 +45,11 @@ defmodule OsuuspuutarhaWeb.Router do
live "/tilaukset/:id/nayta/muokkaa", OrderLive.Show, :edit
end
scope "/lataukset", as: :exports, alias: OsuuspuutarhaWeb.Exports do
pipe_through :admin_browser
resources "/tilaukset", OrderController, only: [:index]
end
# Other scopes may use custom stacks.
# scope "/api", OsuuspuutarhaWeb do
# pipe_through :api