ETASCOM CRM V3 - Documentation API
    Preparing search index...

    Function useSupplierStats

    • Returns UseQueryResult<
          {
              total: number;
              active: number;
              inactive: number;
              suppliers: number;
              subcontractors: number;
              manufacturers: number;
              totalPurchaseAmount: number;
              averageOrderValue: number;
              topSuppliersByAmount: any[];
              topSuppliersByCount: any[];
              typeDistribution: any[];
              statusDistribution: any[];
              monthlyEvolution: any[];
              recentOrders: any[];
          },
          Error,
      >