forked from verdnatura/salix-front
update
This commit is contained in:
parent
c1fd150204
commit
81e5bfd93c
|
@ -55,7 +55,7 @@ const handleSendToTablet = async (deviceProductionFk) => {
|
|||
try {
|
||||
await axios.post(`Docuwares/upload`, {
|
||||
fileCabinet: 'hr',
|
||||
ids: [{ worker: route.params.id, pda: deviceProductionFk }],
|
||||
ids: [deviceProductionFk],
|
||||
});
|
||||
notify(t('PDA Signed'), 'positive');
|
||||
} catch (err) {
|
||||
|
@ -178,7 +178,8 @@ const handleDownloadDocuware = async (deviceProductionFk) => {};
|
|||
openConfirmationModal(
|
||||
t('Are you sure you want to send it?'),
|
||||
t('Sign PDA'),
|
||||
handleSendToTablet(row.deviceProductionFk)
|
||||
|
||||
() => handleSendToTablet(row.deviceProductionFk)
|
||||
)
|
||||
"
|
||||
>
|
||||
|
|
Loading…
Reference in New Issue