Skip to content
Snippets Groups Projects
Commit 1b8080c8 authored by rromanov's avatar rromanov
Browse files

Disable offer panics

parent 3349efe3
Branches release/v0.40
No related merge requests found
Pipeline #38476 failed
......@@ -4,13 +4,10 @@ import (
"context"
closecom "gitlab.dcloud.tech/mashplace/backend/closecom/api"
contract "gitlab.dcloud.tech/mashplace/backend/contract/api"
invitation "gitlab.dcloud.tech/mashplace/backend/invitation/api"
invoice "gitlab.dcloud.tech/mashplace/backend/invoice/api"
offer "gitlab.dcloud.tech/mashplace/backend/offer/api"
"gitlab.dcloud.tech/mashplace/backend/offer/internal/app/usecase/rto"
"gitlab.dcloud.tech/mashplace/backend/offer/internal/connections"
"gitlab.dcloud.tech/mashplace/backend/offer/model"
schedule "gitlab.dcloud.tech/mashplace/backend/schedule/api"
)
......@@ -45,27 +42,27 @@ func NewServer(ctx context.Context,
// template revision is updated automatically if bindata modification time is after current
// template revision modification date.
// see contract.TemplateID for details.
model.TemplateASTID, _ = contract.TemplateID(
ctx,
nil,
nil,
connections.ContractService,
"offer-contract-template",
"template.html",
)
//
//model.TemplateASTID, _ = contract.TemplateID(
// ctx,
// nil,
// nil,
// connections.ContractService,
// "offer-contract-template",
// "template.html",
//)
//if err != nil {
// panic(err)
//}
model.TemplateSOMFID, _ = contract.TemplateID(
ctx,
nil,
nil,
connections.ContractService,
"offer-somf-template",
"StandingOrderMandateForm.html",
)
//model.TemplateSOMFID, _ = contract.TemplateID(
// ctx,
// nil,
// nil,
// connections.ContractService,
// "offer-somf-template",
// "StandingOrderMandateForm.html",
//)
//if err != nil {
// panic(err)
//}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment