0
0
Fork 0
This commit is contained in:
Javier Segarra 2024-05-22 12:33:28 +02:00
parent c1fd150204
commit 81e5bfd93c
1 changed files with 3 additions and 2 deletions

View File

@ -55,7 +55,7 @@ const handleSendToTablet = async (deviceProductionFk) => {
try { try {
await axios.post(`Docuwares/upload`, { await axios.post(`Docuwares/upload`, {
fileCabinet: 'hr', fileCabinet: 'hr',
ids: [{ worker: route.params.id, pda: deviceProductionFk }], ids: [deviceProductionFk],
}); });
notify(t('PDA Signed'), 'positive'); notify(t('PDA Signed'), 'positive');
} catch (err) { } catch (err) {
@ -178,7 +178,8 @@ const handleDownloadDocuware = async (deviceProductionFk) => {};
openConfirmationModal( openConfirmationModal(
t('Are you sure you want to send it?'), t('Are you sure you want to send it?'),
t('Sign PDA'), t('Sign PDA'),
handleSendToTablet(row.deviceProductionFk)
() => handleSendToTablet(row.deviceProductionFk)
) )
" "
> >