<?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', 'csrf'], 'cashier.process_payment'],
    ['POST', '/cashier/{id}/cancel',  'Cashier\Controllers\CashierController@cancel',   ['auth', 'csrf'], 'cashier.cancel_request'],
];
