Telephone is now phone
This commit is contained in:
@@ -161,7 +161,7 @@ class ImportCosts implements ShouldQueue
|
||||
|
||||
break;
|
||||
|
||||
case 'telephone':
|
||||
case 'phone':
|
||||
$to = Cost\Phone::where('site_id',$this->co->site_id)
|
||||
->where('cost_id',$this->co->id)
|
||||
->where('service_phone_id',$so->type->id)
|
||||
@@ -192,7 +192,7 @@ class ImportCosts implements ShouldQueue
|
||||
break;
|
||||
|
||||
default:
|
||||
dump(['so'=>$so,'line'=>$line]);
|
||||
dump(['so'=>$so,'category'=>$so->category,'line'=>$line,'m'=>$m,'r'=>$r]);
|
||||
throw new \Exception(sprintf('ERROR: Service type not handled for service [%s] (%s) on line [%d]',$m[1],$so->category,$c));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user