@ -10300,17 +10300,19 @@ __webpack_require__.r(__webpack_exports__);
/* harmony export */ "default" : ( ) => ( /* binding */ Reports )
/* harmony export */ } ) ;
/* harmony import */ var react _ _WEBPACK _IMPORTED _MODULE _0 _ _ = _ _webpack _require _ _ ( /*! react */ "./node_modules/react/index.js" ) ;
/* harmony import */ var react _datepicker _ _WEBPACK _IMPORTED _MODULE _ 9 _ _ = _ _webpack _require _ _ ( /*! react-datepicker */ "./node_modules/react-datepicker/dist/react-datepicker.min.js" ) ;
/* harmony import */ var react _datepicker _ _WEBPACK _IMPORTED _MODULE _ 9 _ _ _default = /*#__PURE__*/ _ _webpack _require _ _ . n ( react _datepicker _ _WEBPACK _IMPORTED _MODULE _ 9 _ _ ) ;
/* harmony import */ var react _datepicker _ _WEBPACK _IMPORTED _MODULE _ 10 _ _ = _ _webpack _require _ _ ( /*! react-datepicker */ "./node_modules/react-datepicker/dist/react-datepicker.min.js" ) ;
/* harmony import */ var react _datepicker _ _WEBPACK _IMPORTED _MODULE _ 10 _ _ _default = /*#__PURE__*/ _ _webpack _require _ _ . n ( react _datepicker _ _WEBPACK _IMPORTED _MODULE _ 10 _ _ ) ;
/* harmony import */ var moment _ _WEBPACK _IMPORTED _MODULE _1 _ _ = _ _webpack _require _ _ ( /*! moment */ "./node_modules/moment/moment.js" ) ;
/* harmony import */ var moment _ _WEBPACK _IMPORTED _MODULE _1 _ _ _default = /*#__PURE__*/ _ _webpack _require _ _ . n ( moment _ _WEBPACK _IMPORTED _MODULE _1 _ _ ) ;
/* harmony import */ var _inertiajs _inertia _react _ _WEBPACK _IMPORTED _MODULE _2 _ _ = _ _webpack _require _ _ ( /*! @inertiajs/inertia-react */ "./node_modules/@inertiajs/inertia-react/dist/index.js" ) ;
/* harmony import */ var _inertiajs _inertia _ _WEBPACK _IMPORTED _MODULE _3 _ _ = _ _webpack _require _ _ ( /*! @inertiajs/inertia */ "./node_modules/@inertiajs/inertia/dist/index.js" ) ;
/* harmony import */ var react _use _ _WEBPACK _IMPORTED _MODULE _8 _ _ = _ _webpack _require _ _ ( /*! react-use */ "./node_modules/react-use/esm/usePrevious.js" ) ;
/* harmony import */ var _Layouts _Authenticated _ _WEBPACK _IMPORTED _MODULE _4 _ _ = _ _webpack _require _ _ ( /*! @/Layouts/Authenticated */ "./resources/js/Layouts/Authenticated.js" ) ;
/* harmony import */ var _Components _Pagination _ _WEBPACK _IMPORTED _MODULE _5 _ _ = _ _webpack _require _ _ ( /*! @/Components/Pagination */ "./resources/js/Components/Pagination.js" ) ;
/* harmony import */ var _utils _ _WEBPACK _IMPORTED _MODULE _6 _ _ = _ _webpack _require _ _ ( /*! @/utils */ "./resources/js/utils.js" ) ;
/* harmony import */ var react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _7 _ _ = _ _webpack _require _ _ ( /*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js" ) ;
/* harmony import */ var qs _ _WEBPACK _IMPORTED _MODULE _2 _ _ = _ _webpack _require _ _ ( /*! qs */ "./node_modules/qs/lib/index.js" ) ;
/* harmony import */ var qs _ _WEBPACK _IMPORTED _MODULE _2 _ _ _default = /*#__PURE__*/ _ _webpack _require _ _ . n ( qs _ _WEBPACK _IMPORTED _MODULE _2 _ _ ) ;
/* harmony import */ var _inertiajs _inertia _react _ _WEBPACK _IMPORTED _MODULE _3 _ _ = _ _webpack _require _ _ ( /*! @inertiajs/inertia-react */ "./node_modules/@inertiajs/inertia-react/dist/index.js" ) ;
/* harmony import */ var _inertiajs _inertia _ _WEBPACK _IMPORTED _MODULE _4 _ _ = _ _webpack _require _ _ ( /*! @inertiajs/inertia */ "./node_modules/@inertiajs/inertia/dist/index.js" ) ;
/* harmony import */ var react _use _ _WEBPACK _IMPORTED _MODULE _9 _ _ = _ _webpack _require _ _ ( /*! react-use */ "./node_modules/react-use/esm/usePrevious.js" ) ;
/* harmony import */ var _Layouts _Authenticated _ _WEBPACK _IMPORTED _MODULE _5 _ _ = _ _webpack _require _ _ ( /*! @/Layouts/Authenticated */ "./resources/js/Layouts/Authenticated.js" ) ;
/* harmony import */ var _Components _Pagination _ _WEBPACK _IMPORTED _MODULE _6 _ _ = _ _webpack _require _ _ ( /*! @/Components/Pagination */ "./resources/js/Components/Pagination.js" ) ;
/* harmony import */ var _utils _ _WEBPACK _IMPORTED _MODULE _7 _ _ = _ _webpack _require _ _ ( /*! @/utils */ "./resources/js/utils.js" ) ;
/* harmony import */ var react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _8 _ _ = _ _webpack _require _ _ ( /*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js" ) ;
function _slicedToArray ( arr , i ) { return _arrayWithHoles ( arr ) || _iterableToArrayLimit ( arr , i ) || _unsupportedIterableToArray ( arr , i ) || _nonIterableRest ( ) ; }
function _nonIterableRest ( ) { throw new TypeError ( "Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method." ) ; }
@ -10334,6 +10336,7 @@ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
function Reports ( props ) {
var _props$payrolls = props . payrolls ,
payrolls = _props$payrolls . data ,
@ -10351,59 +10354,60 @@ function Reports(props) {
endDate = _useState4 [ 0 ] ,
setEndDate = _useState4 [ 1 ] ;
var preValue = ( 0 , react _use _ _WEBPACK _IMPORTED _MODULE _8 _ _ [ "default" ] ) ( "" . concat ( startDate , "-" ) . concat ( endDate ) ) ;
var preValue = ( 0 , react _use _ _WEBPACK _IMPORTED _MODULE _9 _ _ [ "default" ] ) ( "" . concat ( startDate , "-" ) . concat ( endDate ) ) ;
var params = {
startDate : moment _ _WEBPACK _IMPORTED _MODULE _1 _ _ _default ( ) ( startDate ) . format ( 'yyyy-MM-DD' ) ,
endDate : moment _ _WEBPACK _IMPORTED _MODULE _1 _ _ _default ( ) ( endDate ) . format ( 'yyyy-MM-DD' )
} ;
( 0 , react _ _WEBPACK _IMPORTED _MODULE _0 _ _ . useEffect ) ( function ( ) {
if ( preValue ) {
_inertiajs _inertia _ _WEBPACK _IMPORTED _MODULE _3 _ _ . Inertia . get ( route ( route ( ) . current ( ) ) , {
startDate : moment _ _WEBPACK _IMPORTED _MODULE _1 _ _ _default ( ) ( startDate ) . format ( 'yyyy-MM-DD' ) ,
endDate : moment _ _WEBPACK _IMPORTED _MODULE _1 _ _ _default ( ) ( endDate ) . format ( 'yyyy-MM-DD' )
} , {
_inertiajs _inertia _ _WEBPACK _IMPORTED _MODULE _4 _ _ . Inertia . get ( route ( route ( ) . current ( ) ) , params , {
replace : true ,
preserveState : true
} ) ;
}
} , [ startDate , endDate ] ) ;
return /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _ 7 _ _ . jsxs ) ( _Layouts _Authenticated _ _WEBPACK _IMPORTED _MODULE _ 4 _ _ [ "default" ] , {
return /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _ 8 _ _ . jsxs ) ( _Layouts _Authenticated _ _WEBPACK _IMPORTED _MODULE _ 5 _ _ [ "default" ] , {
auth : props . auth ,
errors : props . errors ,
header : /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _ 7 _ _ . jsx ) ( "h2" , {
header : /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _ 8 _ _ . jsx ) ( "h2" , {
className : "font-semibold text-xl text-gray-800 leading-tight" ,
children : "Gaji"
} ) ,
children : [ /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _ 7 _ _ . jsx ) ( _inertiajs _inertia _react _ _WEBPACK _IMPORTED _MODULE _ 2 _ _ . Head , {
children : [ /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _ 8 _ _ . jsx ) ( _inertiajs _inertia _react _ _WEBPACK _IMPORTED _MODULE _ 3 _ _ . Head , {
title : "Payroll"
} ) , /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _ 7 _ _ . jsx ) ( "div" , {
} ) , /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _ 8 _ _ . jsx ) ( "div" , {
className : "py-12" ,
children : /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _ 7 _ _ . jsx ) ( "div" , {
children : /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _ 8 _ _ . jsx ) ( "div" , {
className : "flex flex-col w-full sm:px-6 lg:px-8 space-y-2" ,
children : /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _ 7 _ _ . jsx ) ( "div" , {
children : /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _ 8 _ _ . jsx ) ( "div" , {
className : "card bg-white w-full" ,
style : {
minHeight : '400px'
} ,
children : /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _ 7 _ _ . jsxs ) ( "div" , {
children : /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _ 8 _ _ . jsxs ) ( "div" , {
className : "card-body" ,
children : [ /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _ 7 _ _ . jsxs ) ( "div" , {
children : [ /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _ 8 _ _ . jsxs ) ( "div" , {
className : "flex flex-col md:flex-row space-y-2 md:space-y-0 items-start md:items-stretch w-full mb-4 justify-between" ,
children : [ /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _ 7 _ _ . jsx ) ( "div" , {
children : [ /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _ 8 _ _ . jsx ) ( "div" , {
className : "btn-group my-auto" ,
children : /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _ 7_ _ . jsx ) ( "div ", {
children : /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _ 8_ _ . jsx ) ( "a ", {
className : "btn btn-info btn-outline" ,
onClick: function onClick ( ) { } ,
href: "" . concat ( route ( 'report.export' ) , "?" ) . concat ( qs _ _WEBPACK _IMPORTED _MODULE _2 _ _ _default ( ) . stringify ( params ) ) ,
children : "Download Excel"
} )
} ) , /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _ 7 _ _ . jsxs ) ( "div" , {
} ) , /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _ 8 _ _ . jsxs ) ( "div" , {
className : "flex flex-row md:space-x-4" ,
children : [ /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _ 7 _ _ . jsxs ) ( "div" , {
children : [ /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _ 7 _ _ . jsx ) ( "label" , {
children : [ /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _ 8 _ _ . jsxs ) ( "div" , {
children : [ /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _ 8 _ _ . jsx ) ( "label" , {
className : "label" ,
children : /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _ 7 _ _ . jsx ) ( "span" , {
children : /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _ 8 _ _ . jsx ) ( "span" , {
className : "label-text" ,
children : "Tanggal Awal"
} )
} ) , /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _ 7 _ _ . jsxs ) ( "div" , {
} ) , /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _ 8 _ _ . jsxs ) ( "div" , {
className : "relative" ,
children : [ /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _ 7 _ _ . jsx ) ( ( react _datepicker _ _WEBPACK _IMPORTED _MODULE _ 9 _ _ _default ( ) ) , {
children : [ /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _ 8 _ _ . jsx ) ( ( react _datepicker _ _WEBPACK _IMPORTED _MODULE _ 10 _ _ _default ( ) ) , {
selected : startDate ,
onChange : function onChange ( date ) {
setStartDate ( date ) ;
@ -10412,15 +10416,15 @@ function Reports(props) {
className : "input input-bordered" ,
nextMonthButtonLabel : ">" ,
previousMonthButtonLabel : "<"
} ) , /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _ 7 _ _ . jsx ) ( "div" , {
} ) , /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _ 8 _ _ . jsx ) ( "div" , {
className : "absolute right-2.5 rounded-l-none y-0 flex items-center top-2.5" ,
children : /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _ 7 _ _ . jsx ) ( "svg" , {
children : /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _ 8 _ _ . jsx ) ( "svg" , {
xmlns : "http://www.w3.org/2000/svg" ,
className : "h-6 w-6" ,
fill : "none" ,
viewBox : "0 0 24 24" ,
stroke : "currentColor" ,
children : /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _ 7 _ _ . jsx ) ( "path" , {
children : /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _ 8 _ _ . jsx ) ( "path" , {
strokeLinecap : "round" ,
strokeLinejoin : "round" ,
strokeWidth : 2 ,
@ -10429,16 +10433,16 @@ function Reports(props) {
} )
} ) ]
} ) ]
} ) , /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _ 7 _ _ . jsxs ) ( "div" , {
children : [ /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _ 7 _ _ . jsx ) ( "label" , {
} ) , /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _ 8 _ _ . jsxs ) ( "div" , {
children : [ /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _ 8 _ _ . jsx ) ( "label" , {
className : "label" ,
children : /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _ 7 _ _ . jsx ) ( "span" , {
children : /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _ 8 _ _ . jsx ) ( "span" , {
className : "label-text" ,
children : "Tanggal Akhir"
} )
} ) , /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _ 7 _ _ . jsxs ) ( "div" , {
} ) , /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _ 8 _ _ . jsxs ) ( "div" , {
className : "relative" ,
children : [ /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _ 7 _ _ . jsx ) ( ( react _datepicker _ _WEBPACK _IMPORTED _MODULE _ 9 _ _ _default ( ) ) , {
children : [ /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _ 8 _ _ . jsx ) ( ( react _datepicker _ _WEBPACK _IMPORTED _MODULE _ 10 _ _ _default ( ) ) , {
selected : endDate ,
onChange : function onChange ( date ) {
setEndDate ( date ) ;
@ -10447,15 +10451,15 @@ function Reports(props) {
className : "input input-bordered" ,
nextMonthButtonLabel : ">" ,
previousMonthButtonLabel : "<"
} ) , /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _ 7 _ _ . jsx ) ( "div" , {
} ) , /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _ 8 _ _ . jsx ) ( "div" , {
className : "absolute right-2.5 rounded-l-none y-0 flex items-center top-2.5" ,
children : /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _ 7 _ _ . jsx ) ( "svg" , {
children : /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _ 8 _ _ . jsx ) ( "svg" , {
xmlns : "http://www.w3.org/2000/svg" ,
className : "h-6 w-6" ,
fill : "none" ,
viewBox : "0 0 24 24" ,
stroke : "currentColor" ,
children : /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _ 7 _ _ . jsx ) ( "path" , {
children : /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _ 8 _ _ . jsx ) ( "path" , {
strokeLinecap : "round" ,
strokeLinejoin : "round" ,
strokeWidth : 2 ,
@ -10466,44 +10470,45 @@ function Reports(props) {
} ) ]
} ) ]
} ) ]
} ) , /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _ 7 _ _ . jsx ) ( "div" , {
} ) , /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _ 8 _ _ . jsx ) ( "div" , {
className : "overflow-x-auto" ,
children : /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _ 7 _ _ . jsxs ) ( "table" , {
children : /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _ 8 _ _ . jsxs ) ( "table" , {
className : "table w-full table-zebra" ,
children : [ /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _ 7 _ _ . jsx ) ( "thead" , {
children : /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _ 7 _ _ . jsxs ) ( "tr" , {
children : [ /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _ 7 _ _ . jsx ) ( "th" , {
children : [ /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _ 8 _ _ . jsx ) ( "thead" , {
children : /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _ 8 _ _ . jsxs ) ( "tr" , {
children : [ /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _ 8 _ _ . jsx ) ( "th" , {
children : "Tanggal"
} ) , /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _ 7 _ _ . jsx ) ( "th" , {
} ) , /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _ 8 _ _ . jsx ) ( "th" , {
children : "Nama Karyawan"
} ) , /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _ 7 _ _ . jsx ) ( "th" , {
} ) , /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _ 8 _ _ . jsx ) ( "th" , {
children : "Kontak"
} ) , /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _ 7 _ _ . jsx ) ( "th" , {
} ) , /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _ 8 _ _ . jsx ) ( "th" , {
children : "Total"
} ) , /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _ 7 _ _ . jsx ) ( "th" , {
} ) , /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _ 8 _ _ . jsx ) ( "th" , {
children : "Jumlah Item"
} ) ]
} )
} ) , /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _ 7 _ _ . jsx ) ( "tbody" , {
} ) , /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _ 8 _ _ . jsx ) ( "tbody" , {
children : payrolls . map ( function ( payroll ) {
return /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _ 7 _ _ . jsxs ) ( "tr" , {
children : [ /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _ 7 _ _ . jsx ) ( "th" , {
children : ( 0 , _utils _ _WEBPACK _IMPORTED _MODULE _ 6 _ _ . formatDate ) ( payroll . date )
} ) , /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _ 7 _ _ . jsx ) ( "td" , {
return /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _ 8 _ _ . jsxs ) ( "tr" , {
children : [ /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _ 8 _ _ . jsx ) ( "th" , {
children : ( 0 , _utils _ _WEBPACK _IMPORTED _MODULE _ 7 _ _ . formatDate ) ( payroll . date )
} ) , /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _ 8 _ _ . jsx ) ( "td" , {
children : payroll . employee . name
} ) , /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _ 7 _ _ . jsx ) ( "td" , {
} ) , /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _ 8 _ _ . jsx ) ( "td" , {
children : payroll . employee . whatsapp
} ) , /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _ 7 _ _ . jsx ) ( "td" , {
children : ( 0 , _utils _ _WEBPACK _IMPORTED _MODULE _ 6 _ _ . formatIDR ) ( payroll . recived )
} ) , /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _ 7 _ _ . jsx ) ( "td" , {
children : ( 0 , _utils _ _WEBPACK _IMPORTED _MODULE _ 6 _ _ . formatIDR ) ( payroll . item _count )
} ) , /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _ 8 _ _ . jsx ) ( "td" , {
children : ( 0 , _utils _ _WEBPACK _IMPORTED _MODULE _ 7 _ _ . formatIDR ) ( payroll . recived )
} ) , /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _ 8 _ _ . jsx ) ( "td" , {
children : ( 0 , _utils _ _WEBPACK _IMPORTED _MODULE _ 7 _ _ . formatIDR ) ( payroll . item _count )
} ) ]
} , payroll . id ) ;
} )
} ) ]
} )
} ) , /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _7 _ _ . jsx ) ( _Components _Pagination _ _WEBPACK _IMPORTED _MODULE _5 _ _ [ "default" ] , {
links : links
} ) , /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _8 _ _ . jsx ) ( _Components _Pagination _ _WEBPACK _IMPORTED _MODULE _6 _ _ [ "default" ] , {
links : links ,
params : params
} ) ]
} )
} )