File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ def new_invoice(request):
5555 owner = request .user .profile ,
5656 invoice_date = invdate ,
5757 due_date = duedate ,
58- file_is_original = ( request . POST [ 'invoice-original' ] == "yes" ),
58+ file_is_original = True , #To be removed
5959 description = request .POST ['invoice-description' ],
6060 )
6161 invoice .save ()
Original file line number Diff line number Diff line change 5454
5555 < div class ="form-entry ">
5656 < span class ="description ">
57- < label for ="files " v-tooltip ="{ content: 'Ladda upp fakturan. Om den är på papper, ladda upp en tydlig bild och sätt in fakturan i pärmen .' } ">
57+ < label for ="files " v-tooltip ="{ content: 'Ladda upp fakturan. Om den är på papper, ladda upp en tydlig bild.' } ">
5858 Bild/pdf av fakturan:
5959 </ label >
6060 < span class ="desc "> Obligatoriskt</ span >
7171 </ div >
7272 </ div >
7373
74- < div class ="form-entry ">
75- < span class ="description thin " v-tooltip ="{content:'Om ja, så måste fakturan också sättas in i pärmen'} ">
76- Är ovanstående fil originalversionen av fakturan?
77- < span class ="desc "> Obligatoriskt</ span >
78- </ span >
79- < div class ="input ">
80- < div class ="radio ">
81- < input type ="radio " name ="invoice-original " value ="no " id ="no " />
82- < label for ="no "> Nej</ label >
83- </ div >
84- < div class ="radio ">
85- < input type ="radio " name ="invoice-original " value ="yes " id ="yes " required />
86- < label for ="yes "> Ja</ label >
87- </ div >
88- </ div >
89- </ div >
90-
9174 < div class ="form-entry " v-if ="payed == 'yes-chapter-have' ">
92- < span class ="description thin " v-tooltip =" {content:'Om ja, så måste fakturan också sättas in i pärmen'} " >
75+ < span class ="description thin ">
9376 Är fakturan bokförd?
9477 < span class ="desc "> Obligatoriskt</ span >
9578 </ span >
10689 </ div >
10790
10891 < div class ="form-entry " v-if ="accounted == 'accounted-yes' ">
109- < span class ="description thin " v-tooltip =" {content:'Om ja, så måste fakturan också sättas in i pärmen'} " >
92+ < span class ="description thin ">
11093 Vilket verifikationsnummer har den?
11194 < span class ="desc "> Obligatoriskt</ span >
11295 </ span >
You can’t perform that action at this time.
0 commit comments