mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 04:40:32 +00:00
feat: change the controllers tags
This commit is contained in:
@@ -7,7 +7,7 @@ import { ApiOperation, ApiTags } from '@nestjs/swagger';
|
||||
import { APAgingSummaryQueryDto } from './APAgingSummaryQuery.dto';
|
||||
|
||||
@Controller('reports/payable-aging-summary')
|
||||
@ApiTags('reports')
|
||||
@ApiTags('Reports')
|
||||
export class APAgingSummaryController {
|
||||
constructor(private readonly APAgingSummaryApp: APAgingSummaryApplication) {}
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ import { Response } from 'express';
|
||||
import { ApiOperation, ApiTags } from '@nestjs/swagger';
|
||||
|
||||
@Controller('reports/receivable-aging-summary')
|
||||
@ApiTags('reports')
|
||||
@ApiTags('Reports')
|
||||
export class ARAgingSummaryController {
|
||||
constructor(private readonly ARAgingSummaryApp: ARAgingSummaryApplication) {}
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ import { ApiOperation, ApiResponse, ApiTags } from '@nestjs/swagger';
|
||||
import { BalanceSheetQueryDto } from './BalanceSheet.dto';
|
||||
|
||||
@Controller('/reports/balance-sheet')
|
||||
@ApiTags('reports')
|
||||
@ApiTags('Reports')
|
||||
export class BalanceSheetStatementController {
|
||||
constructor(private readonly balanceSheetApp: BalanceSheetApplication) {}
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ import { ApiOperation, ApiResponse, ApiTags } from '@nestjs/swagger';
|
||||
import { CashFlowStatementQueryDto } from './CashFlowStatementQuery.dto';
|
||||
|
||||
@Controller('reports/cashflow-statement')
|
||||
@ApiTags('reports')
|
||||
@ApiTags('Reports')
|
||||
export class CashflowController {
|
||||
constructor(private readonly cashflowSheetApp: CashflowSheetApplication) {}
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ import { CustomerBalanceSummaryQueryDto } from './CustomerBalanceSummaryQuery.dt
|
||||
import { AcceptType } from '@/constants/accept-type';
|
||||
|
||||
@Controller('/reports/customer-balance-summary')
|
||||
@ApiTags('reports')
|
||||
@ApiTags('Reports')
|
||||
export class CustomerBalanceSummaryController {
|
||||
constructor(
|
||||
private readonly customerBalanceSummaryApp: CustomerBalanceSummaryApplication,
|
||||
|
||||
@@ -6,7 +6,7 @@ import { AcceptType } from '@/constants/accept-type';
|
||||
import { GeneralLedgerQueryDto } from './GeneralLedgerQuery.dto';
|
||||
|
||||
@Controller('/reports/general-ledger')
|
||||
@ApiTags('reports')
|
||||
@ApiTags('Reports')
|
||||
export class GeneralLedgerController {
|
||||
constructor(
|
||||
private readonly generalLedgerApplication: GeneralLedgerApplication,
|
||||
|
||||
@@ -6,7 +6,7 @@ import { AcceptType } from '@/constants/accept-type';
|
||||
import { InventoryItemDetailsQueryDto } from './InventoryItemDetailsQuery.dto';
|
||||
|
||||
@Controller('reports/inventory-item-details')
|
||||
@ApiTags('reports')
|
||||
@ApiTags('Reports')
|
||||
export class InventoryItemDetailsController {
|
||||
constructor(
|
||||
private readonly inventoryItemDetailsApp: InventoryItemDetailsApplication,
|
||||
|
||||
@@ -6,7 +6,7 @@ import { InventoryValuationQueryDto } from './InventoryValuationQuery.dto';
|
||||
import { AcceptType } from '@/constants/accept-type';
|
||||
|
||||
@Controller('reports/inventory-valuation')
|
||||
@ApiTags('reports')
|
||||
@ApiTags('Reports')
|
||||
export class InventoryValuationController {
|
||||
constructor(
|
||||
private readonly inventoryValuationApp: InventoryValuationSheetApplication,
|
||||
|
||||
@@ -7,7 +7,7 @@ import { ApiOperation, ApiResponse, ApiTags } from '@nestjs/swagger';
|
||||
import { JournalSheetQueryDto } from './JournalSheetQuery.dto';
|
||||
|
||||
@Controller('/reports/journal')
|
||||
@ApiTags('reports')
|
||||
@ApiTags('Reports')
|
||||
export class JournalSheetController {
|
||||
constructor(private readonly journalSheetApp: JournalSheetApplication) {}
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ import { ApiOperation, ApiResponse, ApiTags } from '@nestjs/swagger';
|
||||
import { ProfitLossSheetQueryDto } from './ProfitLossSheetQuery.dto';
|
||||
|
||||
@Controller('/reports/profit-loss-sheet')
|
||||
@ApiTags('reports')
|
||||
@ApiTags('Reports')
|
||||
export class ProfitLossSheetController {
|
||||
constructor(
|
||||
private readonly profitLossSheetApp: ProfitLossSheetApplication,
|
||||
|
||||
@@ -6,7 +6,7 @@ import { ApiOperation, ApiResponse, ApiTags } from '@nestjs/swagger';
|
||||
import { PurchasesByItemsQueryDto } from './PurchasesByItemsQuery.dto';
|
||||
|
||||
@Controller('/reports/purchases-by-items')
|
||||
@ApiTags('reports')
|
||||
@ApiTags('Reports')
|
||||
export class PurchasesByItemReportController {
|
||||
constructor(
|
||||
private readonly purchasesByItemsApp: PurchasesByItemsApplication,
|
||||
|
||||
@@ -15,7 +15,7 @@ import { ApiOperation, ApiResponse, ApiTags } from '@nestjs/swagger';
|
||||
import { SalesByItemsQueryDto } from './SalesByItemsQuery.dto';
|
||||
|
||||
@Controller('/reports/sales-by-items')
|
||||
@ApiTags('reports')
|
||||
@ApiTags('Reports')
|
||||
export class SalesByItemsController {
|
||||
constructor(private readonly salesByItemsApp: SalesByItemsApplication) {}
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ import { AcceptType } from '@/constants/accept-type';
|
||||
import { SalesTaxLiabilitySummaryApplication } from './SalesTaxLiabilitySummaryApplication';
|
||||
|
||||
@Controller('/reports/sales-tax-liability-summary')
|
||||
@ApiTags('reports')
|
||||
@ApiTags('Reports')
|
||||
export class SalesTaxLiabilitySummaryController {
|
||||
constructor(
|
||||
private readonly salesTaxLiabilitySummaryApp: SalesTaxLiabilitySummaryApplication,
|
||||
|
||||
@@ -7,7 +7,7 @@ import { Response } from 'express';
|
||||
import { TransactionsByCustomerQueryDto } from './TransactionsByCustomerQuery.dto';
|
||||
|
||||
@Controller('/reports/transactions-by-customers')
|
||||
@ApiTags('reports')
|
||||
@ApiTags('Reports')
|
||||
export class TransactionsByCustomerController {
|
||||
constructor(
|
||||
private readonly transactionsByCustomersApp: TransactionsByCustomerApplication,
|
||||
|
||||
@@ -4,7 +4,7 @@ import { ITransactionsByReferenceQuery } from './TransactionsByReference.types';
|
||||
import { ApiOperation, ApiResponse, ApiTags } from '@nestjs/swagger';
|
||||
|
||||
@Controller('reports/transactions-by-reference')
|
||||
@ApiTags('reports')
|
||||
@ApiTags('Reports')
|
||||
export class TransactionsByReferenceController {
|
||||
constructor(
|
||||
private readonly transactionsByReferenceApp: TransactionsByReferenceApplication,
|
||||
|
||||
@@ -7,7 +7,7 @@ import { ApiOperation, ApiResponse, ApiTags } from '@nestjs/swagger';
|
||||
import { TransactionsByVendorQueryDto } from './TransactionsByVendorQuery.dto';
|
||||
|
||||
@Controller('/reports/transactions-by-vendors')
|
||||
@ApiTags('reports')
|
||||
@ApiTags('Reports')
|
||||
export class TransactionsByVendorController {
|
||||
constructor(
|
||||
private readonly transactionsByVendorsApp: TransactionsByVendorApplication,
|
||||
|
||||
@@ -7,7 +7,7 @@ import { TrialBalanceSheetApplication } from './TrialBalanceSheetApplication';
|
||||
import { TrialBalanceSheetQueryDto } from './TrialBalanceSheetQuery.dto';
|
||||
|
||||
@Controller('reports/trial-balance-sheet')
|
||||
@ApiTags('reports')
|
||||
@ApiTags('Reports')
|
||||
export class TrialBalanceSheetController {
|
||||
constructor(
|
||||
private readonly trialBalanceSheetApp: TrialBalanceSheetApplication,
|
||||
|
||||
@@ -7,7 +7,7 @@ import { ApiOperation, ApiResponse, ApiTags } from '@nestjs/swagger';
|
||||
import { VendorBalanceSummaryQueryDto } from './VendorBalanceSummaryQuery.dto';
|
||||
|
||||
@Controller('/reports/vendor-balance-summary')
|
||||
@ApiTags('reports')
|
||||
@ApiTags('Reports')
|
||||
export class VendorBalanceSummaryController {
|
||||
constructor(
|
||||
private readonly vendorBalanceSummaryApp: VendorBalanceSummaryApplication,
|
||||
|
||||
Reference in New Issue
Block a user