type:
- string
- "null"
+ notes:
+ description: notes about the package
+ type:
+ - string
+ - "null"
created_on:
description: date of creation
type:
name: content_type
required: false
type: string
+ - description: Case insensitive search on package notes
+ in: query
+ name: notes
+ required: false
+ type: string
- description: Case insensitive search on package creation date
in: query
name: created_on
`provider` ENUM('ebsco') DEFAULT NULL COMMENT 'External provider',
`package_type` VARCHAR(80) DEFAULT NULL COMMENT 'type of the package',
`content_type` VARCHAR(80) DEFAULT NULL COMMENT 'type of the package',
+ `notes` mediumtext DEFAULT NULL COMMENT 'notes about this package',
`created_on` timestamp NOT NULL DEFAULT current_timestamp() COMMENT 'date of creation of the package',
CONSTRAINT `erm_packages_ibfk_1` FOREIGN KEY (`vendor_id`) REFERENCES `aqbooksellers` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
PRIMARY KEY(`package_id`)
`provider` ENUM('ebsco') DEFAULT NULL COMMENT 'External provider',
`package_type` VARCHAR(80) DEFAULT NULL COMMENT 'type of the package',
`content_type` VARCHAR(80) DEFAULT NULL COMMENT 'type of the package',
+ `notes` mediumtext DEFAULT NULL COMMENT 'notes about this package',
`created_on` timestamp NOT NULL DEFAULT current_timestamp() COMMENT 'date of creation of the package',
CONSTRAINT `erm_eholdings_packages_ibfk_1` FOREIGN KEY (`vendor_id`) REFERENCES `aqbooksellers` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
PRIMARY KEY(`package_id`)
:options="av_package_content_types"
/>
</li>
+ <li>
+ <label for="package_notes">{{
+ $t("Notes")
+ }}:</label>
+ <textarea
+ id="package_notes"
+ v-model="erm_package.notes"
+ />
+ </li>
<EHoldingsPackageAgreements
:package_agreements="erm_package.package_agreements"
external_id: '',
package_type: '',
content_type: '',
+ notes: '',
created_on: null,
resources: null,
package_agreements: [],
}
},
{
+ title: __("Notes"),
+ data: "notes",
+ searchable: true,
+ orderable: true,
+ render: function (data, type, row, meta) {
+ return row.notes;
+ }
+ },
+ {
title: __("Actions"),
data: function (row, type, val, meta) {
return '<div class="actions"></div>'
)
}}</span>
</li>
+ <li>
+ <label>{{ $t("Notes") }}:</label>
+ <span>{{ erm_package.notes }}</span>
+ </li>
<li v-if="erm_package.created_on">
<label>{{ $t("Created on") }}:</label>
<span>{{ format_date(erm_package.created_on) }}</span>