Correction bug modification execution
This commit is contained in:
parent
bf4d8e60cc
commit
82b64dacdd
File diff suppressed because one or more lines are too long
|
@ -666,7 +666,7 @@
|
|||
"PRESCRIPTIONS_SUCCESSFULLY_ADD": "Prescription ajouté avec succès",
|
||||
"PRESCRIPTIONS_SUCCESSFULLY_MODIFY": "Prescription modifié avec succès",
|
||||
"YOU_MUST_ADD_AT_LEAST_ONE_PRESTATION": "Vous devez ajouter au moins une prestation",
|
||||
"NO_DRUG_MATCH_YOU_SEARCH": "Aucun médicament ne correspond à votre rechercher, voulez-vous en ajouter ?",
|
||||
"NO_DRUG_MATCH_YOU_SEARCH": "Aucun médicament ne correspond à votre recherche, voulez-vous en ajouter ?",
|
||||
"COMPRESSED": "Comprimé",
|
||||
"SYRUP": "Sirop",
|
||||
"SOLUTION": "Solution",
|
||||
|
|
|
@ -71,6 +71,7 @@ import Icon from "react-native-vector-icons/FontAwesome5";
|
|||
import SwitchSelector from "react-native-switch-selector";
|
||||
import StepHeader from "../../../components/StepHeaderComponent";
|
||||
import Wizard from "react-native-wizard";
|
||||
import {readUser} from "../../../webservice/AuthApi";
|
||||
|
||||
|
||||
let moment = require('moment-timezone');
|
||||
|
@ -145,11 +146,9 @@ const DemandeAutorisationSoinScreen = ({
|
|||
dispatch(fetchAcceptRejectConsultationReset());
|
||||
dispatch(fetchGetUserByNameOrNumberReset());
|
||||
dispatch(fetchGetUserByIdQRCodeReset());
|
||||
/* readUser().then((user) => {
|
||||
setUser(user);
|
||||
console.log("User", user);
|
||||
fetchGetListInsuranceWithBeneficiaries(`?user_id=${user.id}`);
|
||||
});*/
|
||||
readUser().then((user) => {
|
||||
setUser(user);
|
||||
});
|
||||
//fetchGetNetworkActs(wallet.idNetwork, '', '&authorization_type=PRIOR');
|
||||
}, []);
|
||||
|
||||
|
@ -418,6 +417,7 @@ const DemandeAutorisationSoinScreen = ({
|
|||
fetchGetNetworkActs(wallet.id_network, '', `&user_id=${item.user.id}&beneficiary_id=${beneficiary.id}`);
|
||||
dispatch(fetchGetUserByNameOrNumberReset());
|
||||
wizard.current.next();
|
||||
fetchGetListInsuranceWithBeneficiaries(`?user_id=${item.user.id}&beneficiary_id=${beneficiary.id}`);
|
||||
}
|
||||
}}>
|
||||
<View style={{width: 10}}/>
|
||||
|
@ -508,6 +508,7 @@ const DemandeAutorisationSoinScreen = ({
|
|||
fetchDemaneAutorisationSoin({
|
||||
act_id: values.code_acte,
|
||||
insurance_id: insurance.id,
|
||||
issuer_network_agent_id: user.agentId,
|
||||
beneficiary_id: assure !== null ? assure.id : beneficiary.id,
|
||||
password: values.password
|
||||
});
|
||||
|
|
|
@ -666,7 +666,7 @@
|
|||
"PRESCRIPTIONS_SUCCESSFULLY_ADD": "Prescription ajouté avec succès",
|
||||
"PRESCRIPTIONS_SUCCESSFULLY_MODIFY": "Prescription modifié avec succès",
|
||||
"YOU_MUST_ADD_AT_LEAST_ONE_PRESTATION": "Vous devez ajouter au moins une prestation",
|
||||
"NO_DRUG_MATCH_YOU_SEARCH": "Aucun médicament ne correspond à votre rechercher, voulez-vous en ajouter ?",
|
||||
"NO_DRUG_MATCH_YOU_SEARCH": "Aucun médicament ne correspond à votre recherche, voulez-vous en ajouter ?",
|
||||
"COMPRESSED": "Comprimé",
|
||||
"SYRUP": "Sirop",
|
||||
"SOLUTION": "Solution",
|
||||
|
|
Loading…
Reference in New Issue