Feature/shipping note refinements

This commit is contained in:
Luca Haid
2024-11-13 12:18:20 +00:00
parent 54b6d18fe7
commit 41a9b0bbd9
2 changed files with 4 additions and 4 deletions

View File

@@ -52,7 +52,7 @@
<div id="topSpacer"></div>
<div style="height: 50px; margin-bottom: 8px">
<div style="height: 50px; margin-bottom: 48px">
<img alt="Xinon Logo" src="{{ basedir }}/public/assets/images/xinon-full.png" style="text-align:left;height: 85px;">
</div>

View File

@@ -57,7 +57,7 @@ Vue.component('warehouse-shipping-note-modal-hours-entry', {
<tt-input v-model="hourCount" label="Stunden" sm/>
<tt-autocomplete v-model="carId" :api-url="carApiUrl" label="Fahrzeug" sm/>
<tt-input v-model="hourlyPrice" label="Stundenlohn" type="number" sm v-if="showHourlyPrice"/>
<tt-input v-model="kilometerCount" label="Kilometer" sm disabled/>
<tt-input v-model="kilometerCount" label="Kilometer" sm/>
<div class="warehouse-shipping-note-modal-hours-entry-actions">
<button @click="createOrUpdate" class="btn btn-sm btn-primary">Speichern</button>
</div>
@@ -75,8 +75,8 @@ Vue.component('warehouse-shipping-note-modal-hours-entry', {
date: this.date,
hourCount: this.hourCount,
hourlyPrice: this.hourlyPrice || null,
carId: this.carId,
kilometerCount: this.kilometerCount
carId: this.carId ? this.carId : null,
kilometerCount: this.carId ? this.kilometerCount : null
});
// TODO: maybe make this cleaner
Object.assign(this.$data, this.$options.data.apply(this))