mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
Add patch to enter overdue scheduled payments
PR: ports/76244 Submitted by: Alexander Novitsky (maintainer)
This commit is contained in:
parent
0d90beee7b
commit
c9be4517f5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=127030
4 changed files with 64 additions and 0 deletions
|
@ -7,6 +7,7 @@
|
|||
|
||||
PORTNAME= kmymoney2
|
||||
PORTVERSION= 0.6.4
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= finance
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||
|
|
31
finance/kmymoney-kde4/files/patch-kenterscheduledialog.diff
Normal file
31
finance/kmymoney-kde4/files/patch-kenterscheduledialog.diff
Normal file
|
@ -0,0 +1,31 @@
|
|||
Index: kmymoney2/dialogs/kenterscheduledialog.cpp
|
||||
===================================================================
|
||||
RCS file: /cvsroot/kmymoney2/kmymoney2/kmymoney2/dialogs/kenterscheduledialog.cpp,v
|
||||
retrieving revision 1.11.2.1
|
||||
retrieving revision 1.11.2.2
|
||||
diff -c -r1.11.2.1 -r1.11.2.2
|
||||
*** kmymoney2/dialogs/kenterscheduledialog.cpp 31 Jan 2004 12:53:42 -0000 1.11.2.1
|
||||
--- kmymoney2/dialogs/kenterscheduledialog.cpp 28 Dec 2004 22:41:52 -0000 1.11.2.2
|
||||
***************
|
||||
*** 994,1001 ****
|
||||
|
||||
if (date < firstDate || date > nextDate)
|
||||
{
|
||||
! KMessageBox::error(this, i18n("The date must lie in the range %1 to %2").arg(firstDate.addDays(1).toString()).arg(nextDate.toString()));
|
||||
! return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
--- 994,1005 ----
|
||||
|
||||
if (date < firstDate || date > nextDate)
|
||||
{
|
||||
! // KMessageBox::error(this, i18n("The date must lie in the range %1 to %2").arg(firstDate.addDays(1).toString()).arg(nextDate.toString()));
|
||||
!
|
||||
! // let the user continue anyway as the calculation is not always correct
|
||||
! // proper fix will be available in 0.7/0.9.
|
||||
! if (KMessageBox::warningContinueCancel(this, i18n("The date must lie in the range %1 to %2").arg(firstDate.addDays(1).toString()).arg(nextDate.toString())) != KMessageBox::Continue)
|
||||
! return false;
|
||||
}
|
||||
|
||||
return true;
|
|
@ -7,6 +7,7 @@
|
|||
|
||||
PORTNAME= kmymoney2
|
||||
PORTVERSION= 0.6.4
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= finance
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||
|
|
31
finance/kmymoney2/files/patch-kenterscheduledialog.diff
Normal file
31
finance/kmymoney2/files/patch-kenterscheduledialog.diff
Normal file
|
@ -0,0 +1,31 @@
|
|||
Index: kmymoney2/dialogs/kenterscheduledialog.cpp
|
||||
===================================================================
|
||||
RCS file: /cvsroot/kmymoney2/kmymoney2/kmymoney2/dialogs/kenterscheduledialog.cpp,v
|
||||
retrieving revision 1.11.2.1
|
||||
retrieving revision 1.11.2.2
|
||||
diff -c -r1.11.2.1 -r1.11.2.2
|
||||
*** kmymoney2/dialogs/kenterscheduledialog.cpp 31 Jan 2004 12:53:42 -0000 1.11.2.1
|
||||
--- kmymoney2/dialogs/kenterscheduledialog.cpp 28 Dec 2004 22:41:52 -0000 1.11.2.2
|
||||
***************
|
||||
*** 994,1001 ****
|
||||
|
||||
if (date < firstDate || date > nextDate)
|
||||
{
|
||||
! KMessageBox::error(this, i18n("The date must lie in the range %1 to %2").arg(firstDate.addDays(1).toString()).arg(nextDate.toString()));
|
||||
! return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
--- 994,1005 ----
|
||||
|
||||
if (date < firstDate || date > nextDate)
|
||||
{
|
||||
! // KMessageBox::error(this, i18n("The date must lie in the range %1 to %2").arg(firstDate.addDays(1).toString()).arg(nextDate.toString()));
|
||||
!
|
||||
! // let the user continue anyway as the calculation is not always correct
|
||||
! // proper fix will be available in 0.7/0.9.
|
||||
! if (KMessageBox::warningContinueCancel(this, i18n("The date must lie in the range %1 to %2").arg(firstDate.addDays(1).toString()).arg(nextDate.toString())) != KMessageBox::Continue)
|
||||
! return false;
|
||||
}
|
||||
|
||||
return true;
|
Loading…
Add table
Reference in a new issue