function ListingStatusStyle() { $status = ModelStatus::newInstance()->getStatusByItemId( osc_item_id() ); $name = ModelStatus::newInstance()->getStatusName($status['item_status']); return '<div class="status-' . $name . '" style="background-color:red; color:#fff;font-size:22px;text-align:center;border-radius:50px;">' . $name['status_name'] . '</div>';}
PHP Notice: Undefined index: item_status in \oc-content\plugins\listing_status\index.php on line 33PHP Notice: Array to string conversion in \oc-content\plugins\listing_status\index.php on line 34PHP Notice: Undefined index: status_name in \merc\oc-content\plugins\listing_status\index.php on line 34
if( $detail['item_status']*1 == $s['status_id']*1 ) { echo 'selected="selected"'; } echo ' value="' . $s['status_id'] . '">' . $s['status_name'] . '</option>';}
PHP Notice: Undefined index: item_status in \oc-content\plugins\listing_status\item_edit.php on line 16