Skip to content

Commit

Permalink
Merge pull request #13886 from transcom/B-20654-M25-INT
Browse files Browse the repository at this point in the history
B 20654 m25 int
  • Loading branch information
deandreJones authored Oct 14, 2024
2 parents d838767 + 854b51e commit 84563d4
Show file tree
Hide file tree
Showing 30 changed files with 2,643 additions and 258 deletions.
4 changes: 4 additions & 0 deletions cmd/generate-payment-request-edi/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -137,4 +137,8 @@ func main() {
}

fmt.Print(edi858String)
err = models.CreatePaymentRequestEdiFile(appCtx.DB(), "858."+paymentRequest.PaymentRequestNumber, edi858String, paymentRequestNumber)
if err != nil {
logger.Fatal(err.Error())
}
}
1 change: 1 addition & 0 deletions migrations/app/migrations_manifest.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1008,4 +1008,5 @@
20241002151527_add_transportation_offices_AK_HI.up.sql
20241002164836_add_re_country_table_and_refactor.up.sql
20241002170242_add_ub_shipment_type.up.sql
20241007162933_addPaymentRequestEdiFiles.up.sql
20241008212243_populate_market_code_on_shipments_table.up.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
CREATE TABLE
IF NOT EXISTS payment_request_edi_files (
id UUID PRIMARY KEY,
payment_request_number TEXT NOT NULL,
edi_string TEXT NOT NULL,
file_name TEXT NOT NULL,
created_at TIMESTAMP
WITH
TIME ZONE DEFAULT CURRENT_TIMESTAMP,
updated_at TIMESTAMP
WITH
TIME ZONE DEFAULT CURRENT_TIMESTAMP
);
26 changes: 26 additions & 0 deletions pkg/gen/adminapi/adminoperations/mymove_api.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 84563d4

Please sign in to comment.