File tree Expand file tree Collapse file tree 4 files changed +11
-11
lines changed
Expand file tree Collapse file tree 4 files changed +11
-11
lines changed Original file line number Diff line number Diff line change 55 ref =" button"
66 :tabindex =" tabindex"
77 @click =" toggleOpen" >
8- <span v-if =" !value" >{{ $t('client') }}</span >
8+ <span v-if =" !value" class = " d-print-none " >{{ $t('client') }}</span >
99 <span v-else >{{ value }}</span >
1010 </div >
1111 <div class =" search-popover__overlay" v-if =" isOpen" @click =" toggleOpen" ></div >
Original file line number Diff line number Diff line change 3737 :inline =" true"
3838 field =" due_at" />
3939 </BModal >
40- <br >{{ $t('late_fee') }}
41- <AppEditable :value =" invoice.late_fee | currency"
42- :errors =" errors"
43- suffix =" %"
44- field =" late_fee"
45- :placeholder =" $t('add_late_fee')"
46- @change =" updateProp({ late_fee: $event })" />
40+ <span :class =" {'d-print-none': !invoice.late_fee}" >
41+ <br >{{ $t('late_fee') }}
42+ <AppEditable :value =" invoice.late_fee | currency"
43+ :errors =" errors"
44+ suffix =" %"
45+ field =" late_fee"
46+ :placeholder =" $t('add_late_fee')"
47+ @change =" updateProp({ late_fee: $event })" />
48+ </span >
4749 </div >
4850</template >
4951<script >
Original file line number Diff line number Diff line change 44 class =" pointer"
55 @click =" openModal"
66 :src =" team.logo_url" style =" width :100% ; max-width :200px ;" >
7- <button class =" btn btn-sm" @click =" openModal" v-else >
7+ <button class =" btn btn-sm d-print-none " @click =" openModal" v-else >
88 <i class =" material-icons material-icons-round md-36" >file_upload</i >
99 </button >
1010 <AppError :errors =" errors" field =" logo_url" />
Original file line number Diff line number Diff line change @@ -19,7 +19,6 @@ class InvoiceService {
1919 async updateInvoice ( invoice ) {
2020 const requiredFields = {
2121 currency : 'Currency' ,
22- late_fee : 'Late Fee' ,
2322 issued_at : 'Issued At' ,
2423 due_at : 'Due At' ,
2524 number : 'Number' ,
@@ -40,7 +39,6 @@ class InvoiceService {
4039 async bookInvoice ( invoice ) {
4140 const requiredFields = {
4241 currency : 'Currency' ,
43- late_fee : 'Late fee' ,
4442 issued_at : 'Issued at' ,
4543 due_at : 'Due at' ,
4644 number : 'Number' ,
You can’t perform that action at this time.
0 commit comments