|
@@ -54,8 +54,8 @@ class ReportOrderTramsformer
|
|
|
{
|
|
|
$reason = self::REPORT_TYPE['current_day_register'];
|
|
|
}
|
|
|
- if('tx_adq_new' == $item->reportOrder->link_source) {
|
|
|
- $reason = $item->reportOrder->content ? $item->reportOrder->content : $reason;
|
|
|
+ if('tx_adq_new' == ($item->reportOrder->link_source ?? '')) {
|
|
|
+ $reason = ($item->reportOrder->content ?? '') ? $item->reportOrder->content : $reason;
|
|
|
}
|
|
|
|
|
|
return [
|