Commit af5f0c47 authored by Vincent Pelletier's avatar Vincent Pelletier

There is no special case depending on cash_status when emission_letter != site_letter.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17480 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c2724092
...@@ -98,14 +98,12 @@ if resource_portal_type == \'Banknote\':\n ...@@ -98,14 +98,12 @@ if resource_portal_type == \'Banknote\':\n
else:\n else:\n
# banknote of any other status from same country -> caisse auxiliaire / billets et monnaies\n # banknote of any other status from same country -> caisse auxiliaire / billets et monnaies\n
return \'%s/caveau/auxiliaire/encaisse_des_billets_et_monnaies\' %(site,)\n return \'%s/caveau/auxiliaire/encaisse_des_billets_et_monnaies\' %(site,)\n
elif emission_letter == "mixed":\n
# banknote letter \'mixed\' -> caisse auxiliaire / encaisse externe\n
return \'%s/caveau/auxiliaire/encaisse_des_externes\' %(site,)\n
else: # emission_letter != site_letter\n else: # emission_letter != site_letter\n
if cash_status == "to_sort":\n # external banknote -> caisse auxiliaire / encaisse externe\n
# Foreign unsorted banknotes -> salle_de_tri / encaisse externe\n return \'%s/caveau/auxiliaire/encaisse_des_externes\' %(site,)\n
return \'%s/surface/salle_tri/encaisse_des_externes\' %(site,)\n
else:\n
# external banknote -> caisse auxiliaire / encaisse externe\n
# banknote letter \'mixed\' -> caisse auxiliaire / encaisse externe\n
return \'%s/caveau/auxiliaire/encaisse_des_externes\' %(site,)\n
else:\n else:\n
# Coin\n # Coin\n
if cash_status == "valid":\n if cash_status == "valid":\n
......
530 532
\ No newline at end of file \ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment