Bug 24298: (RM follow-up) Schema Class Update
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
parent
12bac04164
commit
b626f656a8
1 changed files with 10 additions and 4 deletions
|
@ -72,7 +72,7 @@ __PACKAGE__->table("branchtransfers");
|
||||||
=head2 reason
|
=head2 reason
|
||||||
|
|
||||||
data_type: 'enum'
|
data_type: 'enum'
|
||||||
extra: {list => ["Manual","StockrotationAdvance","StockrotationRepatriation"]}
|
extra: {list => ["Manual","StockrotationAdvance","StockrotationRepatriation","ReturnToHome","ReturnToHolding"]}
|
||||||
is_nullable: 1
|
is_nullable: 1
|
||||||
|
|
||||||
=cut
|
=cut
|
||||||
|
@ -121,7 +121,13 @@ __PACKAGE__->add_columns(
|
||||||
{
|
{
|
||||||
data_type => "enum",
|
data_type => "enum",
|
||||||
extra => {
|
extra => {
|
||||||
list => ["Manual", "StockrotationAdvance", "StockrotationRepatriation"],
|
list => [
|
||||||
|
"Manual",
|
||||||
|
"StockrotationAdvance",
|
||||||
|
"StockrotationRepatriation",
|
||||||
|
"ReturnToHome",
|
||||||
|
"ReturnToHolding",
|
||||||
|
],
|
||||||
},
|
},
|
||||||
is_nullable => 1,
|
is_nullable => 1,
|
||||||
},
|
},
|
||||||
|
@ -187,8 +193,8 @@ __PACKAGE__->belongs_to(
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-01-28 15:04:48
|
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-19 09:20:20
|
||||||
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:PD2BJD5BaNcemKr2k7zPGA
|
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:PLfyg+VMkwXhVqkTeTdGWw
|
||||||
|
|
||||||
sub koha_object_class {
|
sub koha_object_class {
|
||||||
'Koha::Item::Transfer';
|
'Koha::Item::Transfer';
|
||||||
|
|
Loading…
Reference in a new issue