@fayz-ai/plugin-financial 0.22.1 → 0.22.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -2179,6 +2179,7 @@ function useInvoiceColumns(currency, paymentMethods2, paymentMethodTypes, bankAc
2179
2179
  {
2180
2180
  id: "description",
2181
2181
  header: t2("financial.invoice.columnDescription"),
2182
+ meta: { mobile: "title" },
2182
2183
  cell: ({ row }) => (
2183
2184
  // Full cell width with the badge pinned right, so the statuses line up in
2184
2185
  // one column instead of trailing each name.
@@ -2506,8 +2507,8 @@ function InvoiceListView({ direction, onNew, onNewReceipt, onEdit }) {
2506
2507
  }, [currency, direction, t2]);
2507
2508
  const bulkActions = useMemo(() => {
2508
2509
  const actions = [
2509
- { id: "print", label: t2("financial.invoice.printSelected"), icon: Printer, onSelect: printSelected },
2510
- { id: "export", label: t2("financial.invoice.exportSelected"), icon: Download, onSelect: exportSelected }
2510
+ { id: "print", label: t2("financial.invoice.printSelected"), icon: Printer, desktopOnly: true, onSelect: printSelected },
2511
+ { id: "export", label: t2("financial.invoice.exportSelected"), icon: Download, desktopOnly: true, onSelect: exportSelected }
2511
2512
  ];
2512
2513
  if (!canEdit) return actions;
2513
2514
  if (direction === "debit") {
@@ -2794,6 +2795,9 @@ function InvoiceListView({ direction, onNew, onNewReceipt, onEdit }) {
2794
2795
  description: t2("financial.invoice.importPayrollSoon"),
2795
2796
  icon: Users,
2796
2797
  intent: "secondary",
2798
+ // Importing a payroll inserts payables: without this the set is
2799
+ // no longer all-create and the FAB falls back to the neutral "⋮".
2800
+ creates: true,
2797
2801
  disabled: true,
2798
2802
  onSelect: () => {
2799
2803
  }