Skip to content

Commit

Permalink
Merge branch 'main' into B-21583-gbloc-AK-moves
Browse files Browse the repository at this point in the history
  • Loading branch information
pambecker committed Jan 9, 2025
2 parents 856b8ca + 5083c0f commit a15c927
Show file tree
Hide file tree
Showing 90 changed files with 6,139 additions and 545 deletions.
1 change: 1 addition & 0 deletions migrations/app/migrations_manifest.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1060,6 +1060,7 @@
20241218201833_add_PPPO_BASE_ELIZABETH.up.sql
20241220171035_add_additional_AK_zips_to_zip3_distances.up.sql
20241220213134_add_destination_gbloc_db_function.up.sql
20241224172258_add_and_update_po_box_zip.up.sql
20241226173330_add_intl_param_values_to_service_params_table.up.sql
20241227153723_remove_empty_string_emplid_values.up.sql
20241227202424_insert_transportation_offices_camp_pendelton.up.sql
Expand Down
2,721 changes: 2,721 additions & 0 deletions migrations/app/schema/20241224172258_add_and_update_po_box_zip.up.sql

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions pkg/factory/order_factory.go
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,8 @@ func buildOrderWithBuildType(db *pop.Connection, customs []Customization, traits
defaultSpouseHasProGear := false
defaultOrdersType := internalmessages.OrdersTypePERMANENTCHANGEOFSTATION
defaultOrdersTypeDetail := internalmessages.OrdersTypeDetail("HHG_PERMITTED")
defaultDestinationDutyLocationGbloc := "AGFM"
destinationDutyLocationGbloc := &defaultDestinationDutyLocationGbloc
defaultDestinationGbloc := "AGFM"
destinationGbloc := &defaultDestinationGbloc
testYear := 2018
defaultIssueDate := time.Date(testYear, time.March, 15, 0, 0, 0, 0, time.UTC)
defaultReportByDate := time.Date(testYear, time.August, 1, 0, 0, 0, 0, time.UTC)
Expand Down Expand Up @@ -248,7 +248,7 @@ func buildOrderWithBuildType(db *pop.Connection, customs []Customization, traits
log.Panicf("Error loading duty location by id %s: %s\n", newDutyLocation.ID.String(), err)
}
destinationPostalCodeToGBLOC := FetchOrBuildPostalCodeToGBLOC(db, newDutyLocation.Address.PostalCode, "AGFM")
destinationDutyLocationGbloc = &destinationPostalCodeToGBLOC.GBLOC
destinationGbloc = &destinationPostalCodeToGBLOC.GBLOC
}
}

Expand All @@ -257,7 +257,7 @@ func buildOrderWithBuildType(db *pop.Connection, customs []Customization, traits
ServiceMemberID: serviceMember.ID,
NewDutyLocation: newDutyLocation,
NewDutyLocationID: newDutyLocation.ID,
DestinationGBLOC: destinationDutyLocationGbloc,
DestinationGBLOC: destinationGbloc,
UploadedOrders: uploadedOrders,
UploadedOrdersID: uploadedOrders.ID,
IssueDate: defaultIssueDate,
Expand Down
32 changes: 24 additions & 8 deletions pkg/gen/ghcapi/embedded_spec.go

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

8 changes: 8 additions & 0 deletions pkg/gen/ghcmessages/list_prime_move.go

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

34 changes: 17 additions & 17 deletions pkg/gen/ghcmessages/search_move.go

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

40 changes: 40 additions & 0 deletions pkg/gen/primeapi/embedded_spec.go

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

36 changes: 36 additions & 0 deletions pkg/gen/primemessages/list_move.go

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

Loading

0 comments on commit a15c927

Please sign in to comment.