- <li>
- <label>Licenses</label>
- <table>
- <thead>
- <th>Name</th>
- <th>Status</th>
- <th>Physical location</th>
- <th>Notes</th>
- <th>URI</th>
- </thead>
- <tbody>
- <tr
- v-for="(
- agreement_license, counter
- ) in agreement.agreement_licenses"
- v-bind:key="counter"
+ <li>
+ <label>{{ $t("Licenses") }}</label>
+ <table>
+ <thead>
+ <th>{{ $t("Name") }}</th>
+ <th>{{ $t("Status") }}</th>
+ <th>{{ $t("Physical location") }}</th>
+ <th>{{ $t("Notes") }}</th>
+ <th>{{ $t("URI") }}</th>
+ </thead>
+ <tbody>
+ <tr
+ v-for="(
+ agreement_license, counter
+ ) in agreement.agreement_licenses"
+ v-bind:key="counter"
+ >
+ <td>
+ <router-link
+ :to="`/cgi-bin/koha/erm/licenses/${agreement_license.license_id}`"
+ >
+ {{ agreement_license.license.name }}
+ </router-link>
+ </td>
+ <td>
+ {{
+ get_lib_from_av(
+ "av_agreement_license_statuses",
+ agreement_license.status
+ )
+ }}
+ </td>
+ <td>
+ {{
+ get_lib_from_av(
+ "av_agreement_license_location",
+ agreement_license.physical_location
+ )
+ }}
+ </td>
+ <td>{{ agreement_license.notes }}</td>
+ <td>{{ agreement_license.uri }}</td>
+ </tr>
+ </tbody>
+ </table>
+ </li>
+
+ <li>
+ <label>{{ $t("Related agreements") }}</label>
+ <div
+ v-for="relationship in agreement.agreement_relationships"
+ v-bind:key="relationship.related_agreement_id"
+ >
+ <span
+ ><router-link
+ :to="`/cgi-bin/koha/erm/agreements/${relationship.related_agreement.agreement_id}`"
+ >{{
+ relationship.related_agreement.name
+ }}</router-link
+ ></span