Changeset 057453c for src/utils


Ignore:
Timestamp:
02/26/25 10:05:32 (6 weeks ago)
Author:
Naum Shapkarovski <naumshapkarovski@…>
Branches:
main
Children:
299af01
Parents:
5d6f37a
Message:

feat: implement employees

Location:
src/utils
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • src/utils/axios.ts

    r5d6f37a r057453c  
    4545
    4646export const endpoints = {
    47   invoice: '/api/invoice',
     47  invoice: '/api/invoices',
    4848  customer: '/api/customers',
     49  tenant: '/api/tenant',
     50  service: '/api/services',
     51  employee: '/api/employees',
    4952};
  • src/utils/create-full-address.ts

    r5d6f37a r057453c  
    1 import { Address } from 'mvpmasters-shared';
     1import { Address } from 'src/schemas';
    22
    33export function createFullAddress(data: Address): string {
  • src/utils/get-invoice-quantity-type.ts

    r5d6f37a r057453c  
    1 import { Invoice } from 'mvpmasters-shared';
     1import { Invoice } from 'src/schemas';
    22
    33export const getQuantityType = (invoice: Invoice) => {
Note: See TracChangeset for help on using the changeset viewer.