[grisbi-cvs] grisbi/src import.c,1.251,1.252

Pierre Biava pbiava at users.sourceforge.net
Mon Nov 17 20:00:30 CET 2008


Update of /cvsroot/grisbi/grisbi/src
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv12660

Modified Files:
	import.c 
Log Message:
ajout commentaires sur moyens de payement OFX

Index: import.c
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/import.c,v
retrieving revision 1.251
retrieving revision 1.252
diff -u -d -r1.251 -r1.252
--- import.c	16 Nov 2008 20:34:25 -0000	1.251
+++ import.c	17 Nov 2008 19:00:28 -0000	1.252
@@ -2267,6 +2267,7 @@
     switch ( imported_transaction -> type_de_transaction )
 	{
 	    case OFX_CHECK:
+        /* Check = Chèque */
         payment_number = gsb_data_payment_get_number_by_name ( _("Check"),
 						    account_number );
         gsb_data_transaction_set_method_of_payment_number (transaction_number, payment_number);
@@ -2280,33 +2281,50 @@
 	    //~ case OFX_FEE:
 		//~ break;
 	    case OFX_DEP:
-        payment_number = gsb_data_payment_get_number_by_name ( _("Direct deposit"),
+        /* Deposit = Dépôt */
+        payment_number = gsb_data_payment_get_number_by_name ( _("Deposit"),
 						    account_number );
         gsb_data_transaction_set_method_of_payment_number (transaction_number, payment_number);
 		break;
 	    case OFX_ATM:
+        /* pas trouvé de définition remplacé par carte de crédit */
         payment_number = gsb_data_payment_get_number_by_name ( _("Credit card"),
 						    account_number );
         gsb_data_transaction_set_method_of_payment_number (transaction_number, payment_number);
 		break;
-	    //~ case OFX_POS:
-		//~ break;
-	    //~ case OFX_XFER:
-		//~ break;
+	    case OFX_POS:
+        /* Point of sale = Point de vente remplacé par carte de crédit */
+        payment_number = gsb_data_payment_get_number_by_name ( _("Credit card"),
+						    account_number );
+        gsb_data_transaction_set_method_of_payment_number (transaction_number, payment_number);
+		break;
+	    case OFX_XFER:
+        /* Transfer = Virement */
+		payment_number = gsb_data_payment_get_number_by_name ( _("Transfert"),
+						    account_number );
+        gsb_data_transaction_set_method_of_payment_number (transaction_number, payment_number);
+		break;
 	    case OFX_PAYMENT:
+        /* Electronic payment remplacé par Direct debit = Prélèvement */
         payment_number = gsb_data_payment_get_number_by_name ( _("Direct debit"),
 						    account_number );
         gsb_data_transaction_set_method_of_payment_number (transaction_number, payment_number);
 		break;
-	    //~ case OFX_CASH:
-		//~ break;
+	    case OFX_CASH:
+        /* Cash withdrawal = retrait en liquide */
+        payment_number = gsb_data_payment_get_number_by_name ( _("Cash withdrawal"),
+						    account_number );
+        gsb_data_transaction_set_method_of_payment_number (transaction_number, payment_number);
+		break;
 	    case OFX_DIRECTDEP:
+        /* Direct deposit remplacé par Transfert = Virement */
 		payment_number = gsb_data_payment_get_number_by_name ( _("Transfert"),
 						    account_number );
         gsb_data_transaction_set_method_of_payment_number (transaction_number, payment_number);
 		break;
 	    case OFX_DIRECTDEBIT:
-         payment_number = gsb_data_payment_get_number_by_name ( _("Direct debit"),
+        /* Merchant initiated debit remplacé par Direct debit = Prélèvement */
+        payment_number = gsb_data_payment_get_number_by_name ( _("Direct debit"),
 						    account_number );
         gsb_data_transaction_set_method_of_payment_number (transaction_number, payment_number);
 



More information about the cvs mailing list