<?php
declare(strict_types=1);

return [
    ['GET',  '/cashier',              'Cashier\Controllers\CashierController@queue',    ['auth'], 'cashier.view_queue'],
    ['GET',  '/cashier/{id}',         'Cashier\Controllers\CashierController@process',  ['auth'], 'cashier.process_payment'],
    ['POST', '/cashier/{id}/complete', 'Cashier\Controllers\CashierController@complete', ['auth'], 'cashier.process_payment'],
    ['POST', '/cashier/{id}/cancel',  'Cashier\Controllers\CashierController@cancel',   ['auth'], 'cashier.cancel_request'],
];
