LP#1830089: close transaction and update copy status on payment or adjust to zero
When you make a payment that sets the balance owed to zero, Evergreen
closes the transaction and sets the item status to Lost & Paid (if
appropriate). Adjust to Zero should do the same thing, but hitherto it
would not update the item status. This commit refactors some code to
ensure that Evergreen gives the same result whether you make a payment
or adjust to zero.
Signed-off-by: Jeff Davis <email address hidden>
Signed-off-by: Terran McCanna <email address hidden>
Signed-off-by: Galen Charlton <email address hidden>
500bbd6...
by
Galen Charlton <email address hidden>
update Czech translations for Angular staff client
Fix the lp1145213_test_func_asset.merge_record_assets.pg pgtap live
test by removing the COMMIT and adding a ROLLBACK at the end. This
permits the test to run multiple times without requiring a database
reload.
To verify the bug:
1. Install the pgtap package appropriate for your PostgreSQL database
version.
2. Load a fresh database with eg_db_config using the --load-all-sample
option.
3. Create the pgtap extension in the evergreen database.
4. Run the Open-ILS/src/sql/Pg/live_t/ tests with pg_prove.
5. Repeat step 4, and if this patch has not been applied, then the
lp1145213_test_func_asset.merge_record_assets.pg tests will fail on
the second run.
To test the fix, repeat steps 2 - 5, above, after pulling this commit.
Step 5 should succeed.