diff --git a/resources/views/hardware/checkout.blade.php b/resources/views/hardware/checkout.blade.php index 35ad67d409..6345794a96 100755 --- a/resources/views/hardware/checkout.blade.php +++ b/resources/views/hardware/checkout.blade.php @@ -320,7 +320,12 @@ $(function() { for (var i in data) { var asset = data[i]; - table_html += "" + asset.name + " (" + asset.model.name + ")" + asset.asset_tag + ""; + table_html += "" + asset.name; + if (asset.model.name!='') { + table_html += " (" + asset.model.name + ")"; + + } + table_html += "" + asset.asset_tag + ""; } $('#current_assets_content').html(table_html + '');