Document item hide price column styling..
This commit is contained in:
		@@ -10,6 +10,8 @@ return [
 | 
			
		||||
    'billing'                   => 'Billing',
 | 
			
		||||
    'advanced'                  => 'Advanced',
 | 
			
		||||
 | 
			
		||||
    'item_price_hidden'         => 'This column is hidden on your :type.',
 | 
			
		||||
 | 
			
		||||
    'actions' => [
 | 
			
		||||
        'cancel'                => 'Cancel',
 | 
			
		||||
    ],
 | 
			
		||||
 
 | 
			
		||||
@@ -49,7 +49,7 @@
 | 
			
		||||
                        @stack('quantity_th_start')
 | 
			
		||||
 | 
			
		||||
                        <th class="px-3 py-1 ltr:text-left rtl:text-right text-xs font-normal border-t-0 border-r-0 border-b-0" style="vertical-align:bottom;">
 | 
			
		||||
                            @if (! $hideItemQuantity)    
 | 
			
		||||
                            @if (! $hideItemQuantity)
 | 
			
		||||
                                {{ trans($textItemQuantity) }}
 | 
			
		||||
                            @endif
 | 
			
		||||
                        </th>
 | 
			
		||||
@@ -59,8 +59,13 @@
 | 
			
		||||
                        @stack('price_th_start')
 | 
			
		||||
 | 
			
		||||
                        <th class="px-3 py-1 ltr:text-left rtl:text-right text-xs font-normal border-t-0 border-r-0 border-b-0 pr-1" style="vertical-align:bottom;">
 | 
			
		||||
                            @if (! $hideItemPrice)    
 | 
			
		||||
                                {{ trans($textItemPrice) }}
 | 
			
		||||
                            {{ trans($textItemPrice) }}
 | 
			
		||||
 | 
			
		||||
                            @if ($hideItemPrice)
 | 
			
		||||
                                  
 | 
			
		||||
                                <x-tooltip id="tooltip-item-price" placement="top" message="{{ trans('documents.item_price_hidden', ['type' => config('type.document.' . $type . '.translation.prefix')]) }}">
 | 
			
		||||
                                    <x-icon icon="visibility_off" class="text-sm font-normal"></x-icon>
 | 
			
		||||
                                </x-tooltip>
 | 
			
		||||
                            @endif
 | 
			
		||||
                        </th>
 | 
			
		||||
                        
 | 
			
		||||
@@ -69,7 +74,7 @@
 | 
			
		||||
                        @stack('total_th_start')
 | 
			
		||||
 | 
			
		||||
                        <th class="px-3 py-1 ltr:text-right rtl:text-left text-xs font-normal border-t-0 border-b-0 item-total" style="vertical-align:bottom;">
 | 
			
		||||
                            @if (! $hideItemAmount)    
 | 
			
		||||
                            @if (! $hideItemAmount)
 | 
			
		||||
                                {{ trans($textItemAmount) }}
 | 
			
		||||
                            @endif
 | 
			
		||||
                        </th>
 | 
			
		||||
@@ -107,4 +112,4 @@
 | 
			
		||||
            </table>
 | 
			
		||||
        </div>
 | 
			
		||||
    </div>
 | 
			
		||||
</div>
 | 
			
		||||
</div>
 | 
			
		||||
 
 | 
			
		||||
@@ -126,28 +126,26 @@
 | 
			
		||||
                        @stack('price_td_start')
 | 
			
		||||
 | 
			
		||||
                        <td class="px-3 py-3 pr-1 border-b-0 price">
 | 
			
		||||
                            @if (! $hideItemPrice)
 | 
			
		||||
                                <div>
 | 
			
		||||
                                    @stack('price_input_start')
 | 
			
		||||
                            <div>
 | 
			
		||||
                                @stack('price_input_start')
 | 
			
		||||
 | 
			
		||||
                                    <x-form.input.money
 | 
			
		||||
                                        name="price"
 | 
			
		||||
                                        value="0"
 | 
			
		||||
                                        row-input
 | 
			
		||||
                                        data-item="price"
 | 
			
		||||
                                        v-model="row.price"
 | 
			
		||||
                                        v-error="form.errors.get('items.' + index + '.price')"
 | 
			
		||||
                                        v-error-message="form.errors.get('items.' + index + '.price')"
 | 
			
		||||
                                        change="row.price = $event; form.errors.clear('items.' + index + '.price'); onCalculateTotal"
 | 
			
		||||
                                        :currency="$currency"
 | 
			
		||||
                                        dynamicCurrency="currency"
 | 
			
		||||
                                        money-class="text-right mt-0"
 | 
			
		||||
                                        form-group-class="text-right"
 | 
			
		||||
                                    />
 | 
			
		||||
                                <x-form.input.money
 | 
			
		||||
                                    name="price"
 | 
			
		||||
                                    value="0"
 | 
			
		||||
                                    row-input
 | 
			
		||||
                                    data-item="price"
 | 
			
		||||
                                    v-model="row.price"
 | 
			
		||||
                                    v-error="form.errors.get('items.' + index + '.price')"
 | 
			
		||||
                                    v-error-message="form.errors.get('items.' + index + '.price')"
 | 
			
		||||
                                    change="row.price = $event; form.errors.clear('items.' + index + '.price'); onCalculateTotal"
 | 
			
		||||
                                    :currency="$currency"
 | 
			
		||||
                                    dynamicCurrency="currency"
 | 
			
		||||
                                    money-class="text-right mt-0"
 | 
			
		||||
                                    form-group-class="text-right"
 | 
			
		||||
                                />
 | 
			
		||||
 | 
			
		||||
                                    @stack('price_input_end')
 | 
			
		||||
                                </div>
 | 
			
		||||
                            @endif
 | 
			
		||||
                                @stack('price_input_end')
 | 
			
		||||
                            </div>
 | 
			
		||||
                        </td>
 | 
			
		||||
 | 
			
		||||
                        @stack('price_td_end')
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user