Browse Source
Test Plan: 1. Create a vendor 2. Create a basket 3. Add an order to the basket (note the existence of the option 'gist' 4 Apply patch 5. Create another order (note the existence of the option 'TaxRates' instead) 6. Run 'prove t/Prices.t' to confirm the tests were successful 7. If everything above is correct then patch was successful Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>21.05.x
13 changed files with 28 additions and 15 deletions
@ -0,0 +1,13 @@ |
|||
$DBversion = 'XXX'; # will be replaced by the RM |
|||
if( CheckVersion( $DBversion ) ) { |
|||
# you can use $dbh here like: |
|||
$dbh->do(q{UPDATE systempreferences set variable="TaxRates" WHERE variable="gist"}); |
|||
|
|||
# or perform some test and warn |
|||
# if( !column_exists( 'biblio', 'biblionumber' ) ) { |
|||
# warn "There is something wrong"; |
|||
# } |
|||
|
|||
# Always end with this (adjust the bug info) |
|||
NewVersion( $DBversion, XXXXX, "Description"); |
|||
} |
Loading…
Reference in new issue