[Koha-patches] Proposed patch for bug number 6321 relative to Koha 3.2.X

Chris Nighswonger cnighswonger at foundations.edu
Thu Jun 2 19:37:51 CEST 2011


Hi Stefano,

Please submit this work in the form of a git formated patch so that it
can be tested and signed off on.

Thanks for the good work!

Kind Regards,
Chris


On Fri, May 13, 2011 at 5:59 AM, Stefano Bargioni <bargioni at pusc.it> wrote:
> In C4/Serials.pm
>
> line 2136 must be changed into:
>   my @per_list = (0, 7, 7, 14, 21, 31, 62, 93, 93, 190, 365, 730, 0, 124, 0, 0);
>
> add at line 2299:
>        if ( $subscription->{periodicity} == 13 ) {
>            for ( my $i = 0 ; $i < @irreg ; $i++ ) {
>                if ( $irreg[$i] == ( ( $tmpmonth != 8 ) ? ( $tmpmonth + 4 ) % 12 : 12 ) ) {
>                    ( $year, $month, $day ) = Add_Delta_YMD( $year, $month, $day, 0, 4, 0 );
>                    $tmpmonth = ( ( $tmpmonth != 8 ) ? ( $tmpmonth + 4 ) % 12 : 12 );
>                }
>            }
>            @resultdate = Add_Delta_YMD( $year, $month, $day, 0, 4, 0 );
>        }
>
> In en/modules/serials/subscription-add.tmpl add at line 1236:
>
>                <!-- TMPL_IF name="periodicity13" -->
>                    <option value="13" selected="selected">1/4 months (3/year)</option>
>                <!-- TMPL_ELSE -->
>                    <option value="13">1/4 months (3/year)</option>
>                <!-- /TMPL_IF -->
>
> Add a translation for "1/4 month (3/year)" in po files for two lines of subscription-add.tmpl.
> _______________________________________________
> Koha-patches mailing list
> Koha-patches at lists.koha-community.org
> http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-patches
> website : http://www.koha-community.org/
> git : http://git.koha-community.org/
> bugs : http://bugs.koha-community.org/
>


More information about the Koha-patches mailing list