editPage(_:)
func editPage(_ req: Request) async throws -> View
GET /admin/dailyreport/:daily_report_id
The editor: one box per line of the contract, with Save, Regenerate, Finalize, Print and Download.
-
Declaration
Swift
struct Section : Encodable -
Declaration
Swift
struct LogRow : Encodable -
Declaration
Swift
struct PageContext : Encodable -
Declaration
Swift
func section(_ key: String, _ label: String, _ hint: String, _ value: String, auto: Bool) -> Section -
Declaration
Swift
func rows(_ lines: [DailyReportLogLine]) -> [LogRow]
View on GitHub