Mostly remove conflict markers and some whitespace cleanup.
Signed-off-by: Jason Stephenson <jason@sigio.com>
<!--
Template for printing hold request slips. Fields include:
-<<<<<<< HEAD
* hold.behind_desk
* copy.barcode
* call_number.label
* call_number.prefix
* call_number.suffix
-=======
* copy.barcode
* copy.call_number.label
* copy.call_number.prefix.name
* copy.call_number.suffix.name
->>>>>>> 57e65e1... Interim commit
* title
* patron.alias
// TODO - make this go away
'call_number.label' : '636.8 JON',
'call_number.record.simple_record.title' : 'Test Title',
-<<<<<<< HEAD
- 'location.name' : 'General Collection',
'call_number.owning_lib.name' : 'Ankers Memorial Library',
'call_number.owning_lib.shortname' : 'Ankers'
-=======
'location.name' : 'General Collection'
->>>>>>> 5a56beb... LP1823197: Provide call number prefix and suffix on hold shelf slip
}
var one_hold = {
title : co.title,
author : co.author
});
- // Flesh selected fields of this circulation
- print_data.circulations[0].copy.call_number =
+ // Flesh selected fields of this circulation
+ print_data.circulations[0].copy.call_number =
egCore.idl.toHash(co.acn);
};
});
author : circ.target_copy().call_number().record().wide_display_entry().author()
})
// Flesh selected fields of this circulation
- print_data.circulations[0].copy.call_number =
- egCore.idl.toHash(circ.target_copy().call_number());
+ print_data.circulations[0].copy.call_number =
+ egCore.idl.toHash(circ.target_copy().call_number());
});
print_data.patron = {
};
// Define prefix and suffix in print_context
-
if (typeof print_context.call_number.prefix == 'object') {
print_context.call_number.prefix = "";
} else {
egCore.pcrud.retrieve('acnp', print_context.call_number.prefix)
.then(function(p) {
- print_context.call_number.prefix =
- egCore.idl.toHash(p).label;
+ print_context.call_number.prefix =
+ egCore.idl.toHash(p).label;
})
}
if (typeof print_context.call_number.suffix == 'object') {
} else {
egCore.pcrud.retrieve('acns', print_context.call_number.suffix)
.then(function(s) {
- print_context.call_number.suffix =
- egCore.idl.toHash(s).label;
+ print_context.call_number.suffix =
+ egCore.idl.toHash(s).label;
})
}