resq/config/routes/customer.yaml

51 lines
1.3 KiB
YAML

customer_list:
path: /customers
controller: App\Controller\CustomerController::index
customer_rows:
path: /customers/rows
controller: App\Controller\CustomerController::rows
methods: [GET,POST]
customer_vehicle_search:
path: /customers/vehicles
controller: App\Controller\CustomerController::getCustomerVehicles
methods: [GET]
customer_vehicle_info:
path: /customers/vehicle-info
controller: App\Controller\CustomerController::getCustomerVehicleInfo
methods: [GET]
customer_create:
path: /customers/create
controller: App\Controller\CustomerController::addForm
methods: [GET]
customer_create_submit:
path: /customers/create
controller: App\Controller\CustomerController::addSubmit
methods: [POST]
customer_update_blank:
path: /customers
customer_update:
path: /customers/{id}
controller: App\Controller\CustomerController::updateForm
methods: [GET]
customer_update_submit:
path: /customers/{id}
controller: App\Controller\CustomerController::updateSubmit
methods: [POST]
customer_delete:
path: /customers/{id}
controller: App\Controller\CustomerController::destroy
methods: [DELETE]
customer_vehicle_warranty_edit_ajax:
path: /ajax/customer_vehicle/{id}
controller: App\Controller\CustomerController::editCustomerVehicleWarranty
methods: [POST]