View | Details | Raw Unified | Return to bug 16365
Collapse All | Expand All

(-)a/C4/Acquisition.pm (-1 / +1 lines)
Lines 3001-3007 If the field does not exist, it will be created too. Link Here
3001
3001
3002
sub FillWithDefaultValues {
3002
sub FillWithDefaultValues {
3003
    my ($record) = @_;
3003
    my ($record) = @_;
3004
    my $tagslib = C4::Biblio::GetMarcStructure( 1, 'ACQ' );
3004
    my $tagslib = C4::Biblio::GetMarcStructure( 1, 'ACQ', { unsafe => 1 } );
3005
    if ($tagslib) {
3005
    if ($tagslib) {
3006
        my ($itemfield) =
3006
        my ($itemfield) =
3007
          C4::Biblio::GetMarcFromKohaField( 'items.itemnumber', '' );
3007
          C4::Biblio::GetMarcFromKohaField( 'items.itemnumber', '' );
(-)a/acqui/neworderempty.pl (-1 / +1 lines)
Lines 265-271 $template->param( sort2 => $data->{'sort2'} ); Link Here
265
265
266
if (C4::Context->preference('AcqCreateItem') eq 'ordering' && !$ordernumber) {
266
if (C4::Context->preference('AcqCreateItem') eq 'ordering' && !$ordernumber) {
267
    # Check if ACQ framework exists
267
    # Check if ACQ framework exists
268
    my $marc = GetMarcStructure(1, 'ACQ');
268
    my $marc = GetMarcStructure(1, 'ACQ', { unsafe => 1 } );
269
    unless($marc) {
269
    unless($marc) {
270
        $template->param('NoACQframework' => 1);
270
        $template->param('NoACQframework' => 1);
271
    }
271
    }
(-)a/acqui/orderreceive.pl (-2 / +1 lines)
Lines 112-118 unless ( $results and @$results) { Link Here
112
my $order = $results->[0];
112
my $order = $results->[0];
113
113
114
# Check if ACQ framework exists
114
# Check if ACQ framework exists
115
my $acq_fw = GetMarcStructure(1, 'ACQ');
115
my $acq_fw = GetMarcStructure( 1, 'ACQ', { unsafe => 1 } );
116
unless($acq_fw) {
116
unless($acq_fw) {
117
    $template->param('NoACQframework' => 1);
117
    $template->param('NoACQframework' => 1);
118
}
118
}
119
- 

Return to bug 16365