#5926 - Worker/PDA docuware #387
|
@ -55,8 +55,7 @@ const handleSendToTablet = async (deviceProductionFk) => {
|
||||||
try {
|
try {
|
||||||
await axios.post(`Docuwares/upload`, {
|
await axios.post(`Docuwares/upload`, {
|
||||||
fileCabinet: 'hr',
|
fileCabinet: 'hr',
|
||||||
worker: route.params.id,
|
ids: [{ worker: route.params.id, pda: deviceProductionFk }],
|
||||||
pda: deviceProductionFk,
|
|
||||||
});
|
});
|
||||||
notify(t('PDA Signed'), 'positive');
|
notify(t('PDA Signed'), 'positive');
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
|
@ -179,7 +178,7 @@ 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
|
handleSendToTablet(row.deviceProductionFk)
|
||||||
)
|
)
|
||||||
"
|
"
|
||||||
>
|
>
|
||||||
|
|
Loading…
Reference in New Issue