Merge pull request #1722 from jitendra-webkul/jitendra
Issue #1721 fixed
This commit is contained in:
commit
3c1d2d69b9
|
|
@ -57,7 +57,7 @@
|
|||
<textarea v-validate="'required'" class="control" id="description" name="description" data-vv-as=""{{ __('admin::app.configuration.tax-categories.description') }}"">{{ $taxCategory->description }}</textarea>
|
||||
</div>
|
||||
|
||||
<?php $selectedOptions = old('taxrates') ?: $taxCategory->tax_rates()->pluck('id')->toArray() ?>
|
||||
<?php $selectedOptions = old('taxrates') ?: $taxCategory->tax_rates()->pluck('tax_rates.id')->toArray() ?>
|
||||
|
||||
<div class="control-group" :class="[errors.has('taxrates[]') ? 'has-error' : '']">
|
||||
<label for="taxrates" class="required">{{ __('admin::app.settings.tax-categories.select-taxrates') }}</label>
|
||||
|
|
|
|||
|
|
@ -160,7 +160,7 @@ class Downloadable extends AbstractType
|
|||
*/
|
||||
public function prepareForCart($data)
|
||||
{
|
||||
if(! isset($data['links']) || ! count($data['links']))
|
||||
if (! isset($data['links']) || ! count($data['links']))
|
||||
return trans('shop::app.checkout.cart.integrity.missing_links');
|
||||
|
||||
$products = parent::prepareForCart($data);
|
||||
|
|
|
|||
Loading…
Reference in New Issue