diff --git a/internal/domains/booking/models.go b/internal/booking/models.go similarity index 100% rename from internal/domains/booking/models.go rename to internal/booking/models.go diff --git a/internal/domains/booking/service.go b/internal/booking/service.go similarity index 100% rename from internal/domains/booking/service.go rename to internal/booking/service.go diff --git a/internal/server/handle_reports.go b/internal/server/handle_reports.go index 18b023b..cb6ed85 100644 --- a/internal/server/handle_reports.go +++ b/internal/server/handle_reports.go @@ -9,7 +9,7 @@ import ( "github.com/a-h/templ" "github.com/labstack/echo/v4" "github.com/rjNemo/rentease/constants" - "github.com/rjNemo/rentease/internal/domains/booking" + "github.com/rjNemo/rentease/internal/booking" "github.com/rjNemo/rentease/internal/views" u "github.com/rjNemo/underscore" ) diff --git a/internal/server/handlers.go b/internal/server/handlers.go index 6b2cda3..06e66d6 100644 --- a/internal/server/handlers.go +++ b/internal/server/handlers.go @@ -12,7 +12,7 @@ import ( u "github.com/rjNemo/underscore" "github.com/rjNemo/rentease/constants" - "github.com/rjNemo/rentease/internal/domains/booking" + "github.com/rjNemo/rentease/internal/booking" "github.com/rjNemo/rentease/internal/pdf" "github.com/rjNemo/rentease/internal/views" myTime "github.com/rjNemo/rentease/pkg/time" diff --git a/internal/server/server.go b/internal/server/server.go index 0c1ce42..cc098d7 100644 --- a/internal/server/server.go +++ b/internal/server/server.go @@ -13,7 +13,7 @@ import ( "github.com/labstack/echo/v4" "gorm.io/gorm" - "github.com/rjNemo/rentease/internal/domains/booking" + "github.com/rjNemo/rentease/internal/booking" "github.com/rjNemo/rentease/internal/pdf" ) diff --git a/internal/views/line_item.templ b/internal/views/line_item.templ index e154115..5b80fcc 100644 --- a/internal/views/line_item.templ +++ b/internal/views/line_item.templ @@ -2,7 +2,7 @@ package views import ( "strconv" - "github.com/rjNemo/rentease/internal/domains/booking" + "github.com/rjNemo/rentease/internal/booking" ) templ LineItem(item *booking.Item) { diff --git a/internal/views/line_item_templ.go b/internal/views/line_item_templ.go index edf829c..ce6d4fd 100644 --- a/internal/views/line_item_templ.go +++ b/internal/views/line_item_templ.go @@ -11,7 +11,7 @@ import "io" import "bytes" import ( - "github.com/rjNemo/rentease/internal/domains/booking" + "github.com/rjNemo/rentease/internal/booking" "strconv" ) @@ -28,7 +28,7 @@ func LineItem(item *booking.Item) templ.Component { templ_7745c5c3_Var1 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("