0
0
Fork 0
This commit is contained in:
Javier Segarra 2024-05-22 09:07:39 +02:00
parent 67db3bc5bb
commit c1fd150204
1 changed files with 2 additions and 3 deletions

View File

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