- Created view/adminhtml/layout/default.xml to load vendor-report.css on all admin pages - Updated menu.xml formatting and added dependsOnModule attribute - This ensures the CSS rules that hide the menu icon placeholder are applied globally The rectangle/box appearing next to the menu item was caused by the CSS not being loaded on the admin menu navigation. The default.xml layout file ensures the CSS loads everywhere in the admin, properly hiding the icon. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
14 lines
606 B
XML
14 lines
606 B
XML
<?xml version="1.0"?>
|
|
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Backend:etc/menu.xsd">
|
|
<menu>
|
|
<add id="Shopkeeper_VendorSalesReport::report"
|
|
title="Vendor Sales Report"
|
|
module="Shopkeeper_VendorSalesReport"
|
|
sortOrder="999"
|
|
parent="Magento_Reports::report_salesroot"
|
|
action="vendorsalesreport/report/index"
|
|
resource="Shopkeeper_VendorSalesReport::report"
|
|
dependsOnModule="Shopkeeper_VendorSalesReport"/>
|
|
</menu>
|
|
</config>
|