Fixed Contract Modal Buttons
This commit is contained in:
@@ -2131,15 +2131,15 @@ const setRowData = async (row, service = {sellingPriceComposed: {}}, product = {
|
||||
<UButton
|
||||
variant="outline"
|
||||
color="rose"
|
||||
v-if="itemInfo.project"
|
||||
v-if="itemInfo.contract"
|
||||
icon="i-heroicons-x-mark"
|
||||
@click="itemInfo.project = null"
|
||||
@click="itemInfo.contract = null"
|
||||
/>
|
||||
<EntityModalButtons
|
||||
type="projects"
|
||||
:id="itemInfo.project"
|
||||
:create-query="{customer: itemInfo.customer, plant: itemInfo.plant}"
|
||||
@return-data="(data) => itemInfo.project = data.id"
|
||||
:id="itemInfo.contract"
|
||||
:create-query="{customer: itemInfo.customer}"
|
||||
@return-data="(data) => itemInfo.contract = data.id"
|
||||
/>
|
||||
</InputGroup>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user