Fix three bugs: vendor duplicate check, page size dropdown, label location

- Vendor Create: reject duplicate company names (case-insensitive) before
  saving; works for both the standalone form and the inline quick-add modal
- _Pagination: define changePageSize() JS function (was called but never
  existed, breaking page size dropdown on every paginated list)
- Inventory Label: show bin/location on printed QR code labels

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-24 17:58:23 -04:00
parent b7fcefa765
commit 026e646295
3 changed files with 39 additions and 1 deletions
@@ -83,4 +83,12 @@
</nav>
</div>
</div>
<script>
function changePageSize(size) {
var url = new URL(window.location.href);
url.searchParams.set('pageSize', size);
url.searchParams.set('pageNumber', '1');
window.location.href = url.toString();
}
</script>
}