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

(-)a/Koha/Cash/Register.pm (-2 / +3 lines)
Lines 242-249 on the API. Link Here
242
242
243
sub to_api_mapping {
243
sub to_api_mapping {
244
    return {
244
    return {
245
        branch => 'library_id',
245
        branch         => 'library_id',
246
        id     => 'cash_register_id',
246
        id             => 'cash_register_id',
247
        branch_default => 'library_default',
247
    };
248
    };
248
}
249
}
249
250
(-)a/api/v1/swagger/definitions/cash_register.yaml (-3 / +2 lines)
Lines 23-31 properties: Link Here
23
  archived:
23
  archived:
24
    type: boolean
24
    type: boolean
25
    description: If this till is archived
25
    description: If this till is archived
26
  branch_default:
26
  library_default:
27
    type: boolean
27
    type: boolean
28
    description: If this till is the branch default
28
    description: If this till is the library default
29
additionalProperties: false
29
additionalProperties: false
30
required:
30
required:
31
  - cash_register_id
31
  - cash_register_id
32
- 

Return to bug 36481