Commit fe2af0c4 authored by Fachri's avatar Fachri

Merge branch 'develop' of ssh://gitlab.ortax.org:2222/fachri/ctas-box into develop

parents 3c249adb 1b3d7bd9
// import { useMutation } from '@tanstack/react-query';
// import fakturApi from '../utils/api';
// const useCetakPdfFakturPK = (options?: any) =>
// useMutation({
// mutationKey: ['faktur', 'pk', 'cetak-pdf'],
// mutationFn: async (params: any) => fakturApi.cetakPdfDetail(params),
// ...options,
// });
// export default useCetakPdfFakturPK;
import { useMutation } from '@tanstack/react-query'; import { useMutation } from '@tanstack/react-query';
import fakturApi from '../utils/api'; import fakturApi from '../utils/api';
......
...@@ -161,11 +161,6 @@ export function FakturPkListView() { ...@@ -161,11 +161,6 @@ export function FakturPkListView() {
const baseParams = { const baseParams = {
page, page,
limit: pageSize, limit: pageSize,
// noBupot: '',
// idDipotong: '',
// namaDipotong: '',
// msPajak: '',
// thnPajak: '',
sortingMode: sortModel[0]?.field ?? '', sortingMode: sortModel[0]?.field ?? '',
sortingMethod: sortModel[0]?.sort ?? '', sortingMethod: sortModel[0]?.sort ?? '',
}; };
...@@ -243,19 +238,6 @@ export function FakturPkListView() { ...@@ -243,19 +238,6 @@ export function FakturPkListView() {
), ),
}, },
{ field: 'nomorfaktur', headerName: 'Nomor Faktur Pajak', width: 200 }, { field: 'nomorfaktur', headerName: 'Nomor Faktur Pajak', width: 200 },
// {
// field: 'jenisInvoice',
// type: 'singleSelect',
// headerName: 'Jenis Invoice',
// hideable: true,
// width: 150,
// valueOptions: [
// { value: JENIS_INVOICE.UANG_MUKA, label: 'Uang Muka' },
// { value: JENIS_INVOICE.PELUNASAN, label: 'Pelunasan' },
// { value: JENIS_INVOICE.FULL_PAYMENT, label: 'Full Payment' },
// ],
// valueFormatter: (params) => JENIS_INVOICE_TEXT[params.value] ?? '-',
// },
{ {
field: 'jenisInvoice', field: 'jenisInvoice',
headerName: 'Jenis Invoice', headerName: 'Jenis Invoice',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment