View | Details | Raw Unified | Return to bug 13895
Collapse All | Expand All

(-)a/Koha/Schema/Result/Issue.pm (+5 lines)
Lines 251-256 __PACKAGE__->belongs_to( Link Here
251
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-07-23 13:51:40
251
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-07-23 13:51:40
252
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:+mlcId4odhAFp3HHgV/+tg
252
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:+mlcId4odhAFp3HHgV/+tg
253
253
254
__PACKAGE__->add_columns(
255
    '+auto_renew'      => { is_boolean => 1 },
256
    '+onsite_checkout' => { is_boolean => 1 }
257
);
258
254
__PACKAGE__->belongs_to(
259
__PACKAGE__->belongs_to(
255
    "borrower",
260
    "borrower",
256
    "Koha::Schema::Result::Borrower",
261
    "Koha::Schema::Result::Borrower",
(-)a/api/v1/swagger/definitions/checkout.json (-5 / +19 lines)
Lines 12-48 Link Here
12
      "$ref": "../x-primitives.json#/itemnumber"
12
      "$ref": "../x-primitives.json#/itemnumber"
13
    },
13
    },
14
    "date_due": {
14
    "date_due": {
15
      "type": "string",
15
      "description": "Due date"
16
      "description": "Due date"
16
    },
17
    },
17
    "branchcode": {
18
    "branchcode": {
18
      "$ref": "../x-primitives.json#/branchcode"
19
      "type": "string",
20
      "description": "code of the library the item was checked out"
19
    },
21
    },
20
    "issuingbranch": {
22
    "issuingbranch": {
23
      "type": "string",
21
      "description": "Code of the branch where issue was made"
24
      "description": "Code of the branch where issue was made"
22
    },
25
    },
23
    "returndate": {
26
    "returndate": {
27
      "type": ["string", "null"],
24
      "description": "Date the item was returned"
28
      "description": "Date the item was returned"
25
    },
29
    },
26
    "lastreneweddate": {
30
    "lastreneweddate": {
31
      "type": ["string", "null"],
27
      "description": "Date the item was last renewed"
32
      "description": "Date the item was last renewed"
28
    },
33
    },
29
    "return": {
30
      "description": "?"
31
    },
32
    "renewals": {
34
    "renewals": {
35
      "type": ["integer", "null"],
33
      "description": "Number of renewals"
36
      "description": "Number of renewals"
34
    },
37
    },
35
    "auto_renew": {
38
    "auto_renew": {
39
      "type": "boolean",
36
      "description": "Auto renewal"
40
      "description": "Auto renewal"
37
    },
41
    },
38
    "timestamp": {
42
    "timestamp": {
43
      "type": "string",
39
      "description": "Last update time"
44
      "description": "Last update time"
40
    },
45
    },
41
    "issuedate": {
46
    "issuedate": {
47
      "type": ["string", "null"],
42
      "description": "Date the item was issued"
48
      "description": "Date the item was issued"
43
    },
49
    },
44
    "onsite_checkout": {
50
    "onsite_checkout": {
51
      "type": "boolean",
45
      "description": "On site checkout"
52
      "description": "On site checkout"
53
    },
54
    "note": {
55
      "type": ["string", "null"],
56
      "description": "Issue note text"
57
    },
58
    "notedate": {
59
      "type": ["string", "null"],
60
      "description": "Datetime of the issue note"
46
    }
61
    }
47
  }
62
  }
48
}
63
}
49
- 

Return to bug 13895