Skip to content

Commit

Permalink
Merge pull request #88 from paziresh24/onlinve-visit-activation
Browse files Browse the repository at this point in the history
Onlinve visit activation
  • Loading branch information
AmirhBeigi authored May 11, 2024
2 parents bd8b60a + 8bd2f63 commit b3cace5
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/drapp/public/pwa-versions/latest.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "3.200.0",
"name": "3.201.0",
"changeLog": "",
"tags": []
}
5 changes: 5 additions & 0 deletions apps/drapp/src/components/payment/setting.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@ export const PaymentSetting = () => {
setInquiryModal(true);
setShouldShowTipCostModal(false);
}
if (ibanInquiry.isError) {
setShouldShowTipCostModal(false);
toast.error((ibanInquiry.error as any)?.response?.data?.message);
ibanInquiry.remove();
}
}, [ibanInquiry.status]);

useEffect(() => {
Expand Down
6 changes: 5 additions & 1 deletion apps/drapp/src/pages/drApp/setting/vacation/vacation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,8 @@ export const Vacation = () => {
onSuccess: () => {
toast.success('مرخصی شما ثبت شد.');
setShouldShowconfilitModal(false);
getVacation.refetch();
closeVacationModal();
getSplunkInstance().sendEvent({
group: 'vacation',
type: 'submit-vacation',
Expand Down Expand Up @@ -232,6 +234,7 @@ export const Vacation = () => {
toast.success('مرخصی شما ثبت شد.');
setShouldShowconfilitModal(false);
closeVacationModal();
getVacation.refetch();
getSplunkInstance().sendEvent({
group: 'vacation',
type: 'submit-vacation',
Expand Down Expand Up @@ -267,6 +270,7 @@ export const Vacation = () => {
{
onSuccess: () => {
toast.success('مرخصی شما حذف شد.');
getVacation.refetch();
setShouldShowDeleteVacationModal(false);
getSplunkInstance().sendEvent({
group: 'vacation',
Expand Down Expand Up @@ -441,7 +445,7 @@ export const Vacation = () => {
<span className="text-[0.9rem] font-medium">
لیست مرخصی های ثبت شده:
</span>
<div className="flex items-center space-s-2 w-2/5">
<div className="flex items-center w-2/5 space-s-2">
<Select
className="!w-[40%]"
variant="standard"
Expand Down

0 comments on commit b3cace5

Please sign in to comment.