Skip to content
English
  • There are no suggestions because the search field is empty.

How Inspection Settings Work

Source: autosoft-workshop/app/controllers/inspection_settings_controller.rb, inspection_setting.rb

  • Inspection settings are auto-created the first time a company accesses them — if none exist, the show action returns an empty hash rather than an error
  • Visibility toggles control whether estimated cost, hours, product price, and product cost are shown on inspection reports
  • The inspection number sequence starts at 1000 and auto-increments atomically — there are no gaps under normal operation
  • The default product and default service adviser settings are validated against the company's actual records — invalid IDs are rejected
  • The contact number field is limited to 35 characters

Support scenarios

  • "The inspection settings page is blank" → settings are created on first access; an empty response means they were just initialized — saving any value will populate them
  • "Our inspection numbers started at 1000" → that is the default starting number; it cannot be changed retroactively
  • "I set a default product but it won't save" → the product ID must match an actual product in the company's records
  • "The contact number is getting cut off" → the field has a 35-character limit