# Hidden / Removed Features

## Hidden

### Settings > Teams
- **What:** Teams item in the Settings navigation menu
- **Hidden on:** 2026-08-13
- **File:** `plugins/webkul/security/src/Filament/Resources/TeamResource.php`
- **Change:** Added `protected static bool $shouldRegisterNavigation = false;`
- **Reason:** Not used by this business
- **How to restore:** Remove or set `$shouldRegisterNavigation = true`

### Purchase > Orders > Request for Quotation
- **What:** Purchase > Orders > Request for Quotation (RFQ) navigation item
- **Hidden on:** 2026-04-04
- **File:** `plugins/webkul/purchases/src/Filament/Admin/Clusters/Orders/Resources/QuotationResource.php`
- **Change:** `protected static bool $shouldRegisterNavigation = false;` (was `true`)
- **How to restore:** Set `$shouldRegisterNavigation` back to `true`

### Contacts > Tax ID field
- **What:** Tax ID input field on the contact create/edit form
- **Hidden on:** 2026-04-15
- **File:** `plugins/webkul/contacts/src/Filament/Resources/PartnerResource.php`
- **Change:** Field omitted from overridden `form()` method (base form in partners PartnerResource still has it)
- **How to restore:** Add `TextInput::make('tax_id')` back to the form in the contacts PartnerResource

### Contacts > Job Title field
- **What:** Job Title input field on the contact create/edit form
- **Hidden on:** 2026-04-15
- **File:** `plugins/webkul/contacts/src/Filament/Resources/PartnerResource.php`
- **Change:** Field omitted from overridden `form()` method (base form in partners PartnerResource still has it)
- **How to restore:** Add `TextInput::make('job_title')` back to the form in the contacts PartnerResource

### Contacts > Sales and Purchases tab
- **What:** "Sales and Purchases" tab section on the contact create/edit form (responsible, company ID, reference, industry)
- **Removed on:** 2026-04-15
- **File:** `plugins/webkul/contacts/src/Filament/Resources/PartnerResource.php`
- **Change:** Entire `Tabs::make('tabs')` block omitted from overridden `form()` method
- **How to restore:** Add the `Tabs` component back, copying from base partners PartnerResource `form()` method

### Contacts > Add Contacts to a Contact (ContactsRelationManager)
- **What:** "Contacts" relation section on contact view/edit pages (used to link sub-contacts to a contact)
- **Hidden on:** 2026-04-15
- **File:** `plugins/webkul/contacts/src/Filament/Resources/PartnerResource.php`
- **Change:** `ContactsRelationManager` removed from `getRelations()` override; only `AddressesRelationManager` remains
- **How to restore:** Add `ContactsRelationManager::class` back to the `RelationGroup::make('Contacts', [...])` in `getRelations()`

### Contacts > "Contacts" and "Addresses" top sub-navigation tabs
- **What:** The sub-navigation tabs "Contacts" and "Addresses" that appeared in the top bar on the contact view/edit pages
- **Hidden on:** 2026-04-15
- **File:** `plugins/webkul/contacts/src/Filament/Resources/PartnerResource.php`
- **Change:** `ManageContacts::class` and `ManageAddresses::class` removed from `getRecordSubNavigation()`; only `ViewPartner` and `EditPartner` remain
- **How to restore:** Add `ManageContacts::class` and `ManageAddresses::class` back to the array in `getRecordSubNavigation()`
- **Note:** The pages still exist and their routes are still registered in `getPages()`. Billing and Delivery addresses are now embedded directly in the edit form.

### Purchase > Suppliers > Edit — Contacts relation section
- **What:** The entire Contacts relation manager section (table + heading) shown at the bottom of the Supplier edit page (`/admin/purchase/orders/vendors/{id}/edit`)
- **Hidden on:** 2026-04-21
- **File:** `plugins/webkul/purchases/src/Filament/Admin/Clusters/Orders/Resources/VendorResource.php`
- **Change:** Removed the `RelationGroup::make('Contacts', [ContactsRelationManager::class])` entry from `getRelations()`. The import for `ContactsRelationManager` can also be removed. A subclass at `VendorResource/RelationManagers/ContactsRelationManager.php` was created during an earlier step (hides the Add button only) — it can be deleted too when restoring.
- **How to restore:** Add back to `getRelations()`:
  ```php
  RelationGroup::make('Contacts', [
      ContactsRelationManager::class,
  ])->icon('heroicon-o-users'),
  ```
  And restore the import: `use Webkul\Purchase\...\VendorResource\RelationManagers\ContactsRelationManager;` (or the base partner one if the subclass is deleted)

### Purchase > Suppliers — Contacts, Addresses, Invoices, Purchases tabs
- **What:** The Contacts, Addresses, Invoices (Bills), and Purchases tab items in the sub-navigation bar on the Supplier view/edit pages
- **Hidden on:** 2026-04-21
- **File:** `plugins/webkul/purchases/src/Filament/Admin/Clusters/Orders/Resources/VendorResource.php`
- **Change:** Removed `ManageContacts::class`, `ManageAddresses::class`, `ManageBills::class`, `ManagePurchases::class` from `getRecordSubNavigation()`. Only `ViewVendor::class` and `EditVendor::class` remain.
- **How to restore:** Add the classes back to the array in `getRecordSubNavigation()`:
  ```php
  ManageContacts::class,
  ManageAddresses::class,
  ManageBills::class,
  ManagePurchases::class,
  ```
- **Note:** The underlying pages and routes are still registered in `getPages()` — only the tab links are hidden.

### Purchase > Suppliers > Edit — Addresses relation section
- **What:** The "Addresses" table at the bottom of the Supplier edit/view page (separate contact-level address records, not the main supplier address)
- **Hidden on:** 2026-04-21
- **File:** `plugins/webkul/purchases/src/Filament/Admin/Clusters/Orders/Resources/VendorResource.php`
- **Change:** Removed `RelationGroup::make('Addresses', [AddressesRelationManager::class])` from `getRelations()`, leaving it returning an empty array
- **How to restore:** Add back to `getRelations()`:
  ```php
  RelationGroup::make('Addresses', [
      AddressesRelationManager::class,
  ])->icon('heroicon-o-map-pin'),
  ```

### Purchase > Purchase Orders — Edit page progress stepper (Draft → Open → Confirmed)
- **What:** The `ProgressStepper` status bar showing Draft / Open / Confirmed steps at the top of the Purchase Order edit form
- **Hidden on:** 2026-04-23
- **File:** `plugins/webkul/purchases/src/Filament/Admin/Clusters/Orders/Resources/OrderResource.php`
- **Change:** Added `->hiddenOn('edit')` to `ProgressStepper::make('state')` in the `form()` method
- **How to restore:** Remove `->hiddenOn('edit')` from `ProgressStepper::make('state')`
- **Note:** Still visible on the View page. Only hidden on the Edit page.

### Purchase > Purchase Orders — "Confirm Receipt Date" & "Create Bill" header buttons (Edit page)
- **What:** "Confirm Receipt Date" and "Create Bill" action buttons in the header of the Purchase Order edit page
- **Hidden on:** 2026-04-23
- **File:** `plugins/webkul/purchases/src/Filament/Admin/Clusters/Orders/Resources/OrderResource/Pages/EditOrder.php`
- **Change:** Removed `OrderActions\ConfirmReceiptDateAction::make()` and `OrderActions\CreateBillAction::make()` from `getHeaderActions()`
- **How to restore:** Add them back to `getHeaderActions()` in `EditOrder.php`:
  ```php
  OrderActions\ConfirmReceiptDateAction::make(),
  OrderActions\CreateBillAction::make(),
  ```
  (between `OrderActions\ConfirmAction::make()` and `OrderActions\LockAction::make()`)
- **Note:** The underlying action classes still exist at `OrderResource/Actions/ConfirmReceiptDateAction.php` and `CreateBillAction.php`.

### Purchase > Purchase Orders — Vendor Bills, Receipts & Audit Log sub-navigation tabs
- **Note on Audit Log:** An "Audit Log" tab was briefly added (2026-04-23) using `OrderResource/Pages/ManageAudit.php` and `PurchaseOrderResource/Pages/ManageAudit.php`, then removed in the same session because the Chatter panel already provides activity logging. Instead, delivery logging was improved directly in `EditOrder.php::afterSave()` and the `deliverAll` action to emit human-readable chatter messages on delivery events.

### Purchase > Purchase Orders — Vendor Bills & Receipts sub-navigation tabs
- **What:** "Vendor Bills" and "Receipts" tab links in the sub-navigation bar on Purchase Order view/edit pages
- **Hidden on:** 2026-04-23
- **File:** `plugins/webkul/purchases/src/Filament/Admin/Clusters/Orders/Resources/PurchaseOrderResource.php`
- **Change:** Removed `ManageBills::class` and `ManageReceipts::class` from `getRecordSubNavigation()` and `getPages()`. Replaced with `ManageAudit::class` (new Audit Log tab). The underlying page classes and routes still exist.
- **How to restore:** Add back to `getRecordSubNavigation()`:
  ```php
  ManageBills::class,
  ManageReceipts::class,
  ```
  And restore to `getPages()`:
  ```php
  'bills'    => ManageBills::route('/{record}/bills'),
  'receipts' => ManageReceipts::route('/{record}/receipts'),
  ```
  And restore the imports:
  ```php
  use Webkul\Purchase\Filament\Admin\Clusters\Orders\Resources\PurchaseOrderResource\Pages\ManageBills;
  use Webkul\Purchase\Filament\Admin\Clusters\Orders\Resources\PurchaseOrderResource\Pages\ManageReceipts;
  ```
- **Note:** The `ManageBills` and `ManageReceipts` page classes still exist at `PurchaseOrderResource/Pages/`. Their base classes at `OrderResource/Pages/ManageBills.php` and `ManageReceipts.php` are also untouched.

### Contacts > "Add Address" table / Addresses relation manager
- **What:** The "Addresses" table section at the bottom of the contact edit page (with "Add Address" button, allows adding unlimited address records)
- **Hidden on:** 2026-04-15
- **File:** `plugins/webkul/contacts/src/Filament/Resources/PartnerResource.php`
- **Change:** `getRelations()` returns an empty array — `AddressesRelationManager` removed
- **How to restore:** Return `[RelationGroup::make('Addresses', [AddressesRelationManager::class])->icon('heroicon-o-map-pin')]` from `getRelations()`
- **Note:** Billing and Delivery addresses are handled by the two inline sections in the form

### Purchase > Suppliers — Individual/Company radio button & Title field
- **What:** The "Individual / Company" account type radio selector and the "Title" field (Mr/Mrs/Dr) on the Supplier create/edit form
- **Hidden on:** 2026-04-24
- **File:** `plugins/webkul/purchases/src/Filament/Admin/Clusters/Orders/Resources/VendorResource.php`
- **Change:** `traverseAndModifyFields()` recursively hides `account_type` (radio) and forces its default to `'company'`, and hides `title_id` (Title select). Suppliers are always treated as companies.
- **How to restore:** Remove the `account_type` and `title_id` entries from the `traverseAndModifyFields` callback in `VendorResource::form()`

### Purchase > Purchase Orders — Discount column in product table (View & Edit)
- **What:** The "Discount (%)" column shown in the products repeater table on the Purchase Order view (infolist) and edit (form) pages
- **Hidden on:** 2026-04-27
- **File:** `plugins/webkul/purchases/src/Filament/Admin/Clusters/Orders/Resources/OrderResource.php`
- **Change:** Added `->hidden()` to four places: `InfolistTableColumn::make('discount')` (~line 874), `TextEntry::make('discount')` (~line 940), `TableColumn::make('discount')` (~line 1119), and `TextInput::make('discount')` (~line 1334). The discount logic (`calculateLineTotals`) is untouched — the field still defaults to 0 and calculations still run.
- **How to restore:** Remove `->hidden()` from each of the four discount field/column definitions listed above.

### Purchase > Suppliers — "Company" parent dropdown
- **What:** The "Company" dropdown (`parent_id`) that linked an individual contact to a parent company
- **Hidden on:** 2026-04-24
- **File:** `plugins/webkul/purchases/src/Filament/Admin/Clusters/Orders/Resources/VendorResource.php`
- **Change:** `traverseAndModifyFields()` hides `parent_id`. Suppliers are not linked to a parent company — they are available across all companies.
- **How to restore:** Remove the `parent_id` entry from the `traverseAndModifyFields` callback in `VendorResource::form()`
