CORE POS - IS4C
The CORE POS front end
/var/www/html/git/IS4C/pos/is4c-nf/lib/ItemNotFound.php

Log item not found with a different description (contrived, obviously)

class LogNotFound extends ItemNotFound { public function handle($upc, $json) { $opts = array('upc'=>$upc,'description'=>'NOTFOUND'); TransRecord::add_log_record($opts); CoreLocal::set("boxMsg", $upc . ' ' . _("not a valid item")); $json['main_frame'] = $my_url . "gui-modules/boxMsg2.php";

return $json; } }