|
Lines 11-16
if ( CheckVersion($DBversion) ) {
Link Here
|
| 11 |
|
11 |
|
| 12 |
my $number_er = $schema->resultset('AuthorisedValue')->search( |
12 |
my $number_er = $schema->resultset('AuthorisedValue')->search( |
| 13 |
{ |
13 |
{ |
|
|
14 |
category => 'COUNTRY', |
| 14 |
authorised_value => 'ER' |
15 |
authorised_value => 'ER' |
| 15 |
} |
16 |
} |
| 16 |
)->count; |
17 |
)->count; |
|
Lines 20-25
if ( CheckVersion($DBversion) ) {
Link Here
|
| 20 |
} |
21 |
} |
| 21 |
my $number_cc = $schema->resultset('AuthorisedValue')->search( |
22 |
my $number_cc = $schema->resultset('AuthorisedValue')->search( |
| 22 |
{ |
23 |
{ |
|
|
24 |
category => 'COUNTRY', |
| 23 |
authorised_value => 'CC' |
25 |
authorised_value => 'CC' |
| 24 |
} |
26 |
} |
| 25 |
)->count; |
27 |
)->count; |
|
Lines 29-34
if ( CheckVersion($DBversion) ) {
Link Here
|
| 29 |
} |
31 |
} |
| 30 |
my $number_gq = $schema->resultset('AuthorisedValue')->search( |
32 |
my $number_gq = $schema->resultset('AuthorisedValue')->search( |
| 31 |
{ |
33 |
{ |
|
|
34 |
category => 'COUNTRY', |
| 32 |
authorised_value => 'GQ' |
35 |
authorised_value => 'GQ' |
| 33 |
} |
36 |
} |
| 34 |
)->count; |
37 |
)->count; |
|
Lines 37-42
if ( CheckVersion($DBversion) ) {
Link Here
|
| 37 |
} |
40 |
} |
| 38 |
my $number_pk = $schema->resultset('AuthorisedValue')->search( |
41 |
my $number_pk = $schema->resultset('AuthorisedValue')->search( |
| 39 |
{ |
42 |
{ |
|
|
43 |
category => 'COUNTRY', |
| 40 |
authorised_value => 'PK' |
44 |
authorised_value => 'PK' |
| 41 |
} |
45 |
} |
| 42 |
)->count; |
46 |
)->count; |
| 43 |
- |
|
|