Skip to content

Commit

Permalink
adding some css for bill and invoice
Browse files Browse the repository at this point in the history
  • Loading branch information
Batuhan Baş committed Dec 22, 2018
1 parent e51f458 commit 26bba7c
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 9 deletions.
6 changes: 5 additions & 1 deletion public/css/app.css
Expand Up @@ -918,7 +918,11 @@ input[type="number"] {
}
/* App Detail Page Sliders Finish */

.select2-results__option:hover{
.select2-results__option {
color: lightslategray;
}

.select2-results__option:hover {
color: white;
background: #6da252;
cursor: pointer;
Expand Down
2 changes: 1 addition & 1 deletion resources/views/expenses/bills/create.blade.php
Expand Up @@ -223,7 +223,7 @@
},
language: {
noResults: function () {
return '<span id="tax-add-new"><i class="fa fa-plus"> {{ trans('general.title.new', ['type' => trans_choice('general.tax_rates', 1)]) }}</span>';
return '<span id="tax-add-new"><i class="fa fa-plus"></i> {{ trans('general.title.new', ['type' => trans_choice('general.tax_rates', 1)]) }}</span>';
}
}
});
Expand Down
2 changes: 1 addition & 1 deletion resources/views/expenses/bills/edit.blade.php
Expand Up @@ -204,7 +204,7 @@
},
language: {
noResults: function () {
return '<span id="tax-add-new"><i class="fa fa-plus"> {{ trans('general.title.new', ['type' => trans_choice('general.tax_rates', 1)]) }}</span>';
return '<span id="tax-add-new"><i class="fa fa-plus"></i> {{ trans('general.title.new', ['type' => trans_choice('general.tax_rates', 1)]) }}</span>';
}
}
});
Expand Down
2 changes: 1 addition & 1 deletion resources/views/expenses/bills/item.blade.php
Expand Up @@ -18,7 +18,7 @@
@stack('quantity_td_start')
<td {{ $errors->has('item.' . $item_row . '.quantity') ? 'class="has-error"' : '' }}>
@stack('quantity_input_start')
<input value="{{ empty($item) ? '1' : $item->quantity }}" class="form-control text-center" required="required" name="item[{{ $item_row }}][quantity]" type="text" id="item-quantity-{{ $item_row }}">
<input value="{{ empty($item) ? 1 : $item->quantity }}" class="form-control text-center" required="required" name="item[{{ $item_row }}][quantity]" type="text" id="item-quantity-{{ $item_row }}">
{!! $errors->first('item.' . $item_row . '.quantity', '<p class="help-block">:message</p>') !!}
@stack('quantity_input_end')
</td>
Expand Down
5 changes: 3 additions & 2 deletions resources/views/incomes/invoices/create.blade.php
Expand Up @@ -223,7 +223,7 @@
},
language: {
noResults: function () {
return '<span id="tax-add-new"><i class="fa fa-plus"> {{ trans('general.title.new', ['type' => trans_choice('general.tax_rates', 1)]) }}</span>';
return '<span id="tax-add-new plus"><i class="fa fa-plus"></i> {{ trans('general.title.new', ['type' => trans_choice('general.tax_rates', 1)]) }}</span>';
}
}
});
Expand Down Expand Up @@ -306,7 +306,7 @@
},
language: {
noResults: function () {
return '<span id="tax-add-new"><i class="fa fa-plus"> {{ trans('general.title.new', ['type' => trans_choice('general.tax_rates', 1)]) }}</span>';
return '<span id="tax-add-new"><i class="fa fa-plus"></i> {{ trans('general.title.new', ['type' => trans_choice('general.tax_rates', 1)]) }}</span>';
}
}
});
Expand Down Expand Up @@ -403,6 +403,7 @@
$(document).on('click', '#cancel-discount', function(){
$('#discount').val('');
totalItem();
$('a[rel=popover]').trigger('click');
Expand Down
4 changes: 2 additions & 2 deletions resources/views/incomes/invoices/edit.blade.php
Expand Up @@ -204,7 +204,7 @@
},
language: {
noResults: function () {
return '<span id="tax-add-new"><i class="fa fa-plus"> {{ trans('general.title.new', ['type' => trans_choice('general.tax_rates', 1)]) }}</span>';
return '<span id="tax-add-new"><i class="fa fa-plus"></i> {{ trans('general.title.new', ['type' => trans_choice('general.tax_rates', 1)]) }}</span>';
}
}
});
Expand Down Expand Up @@ -314,7 +314,7 @@
},
language: {
noResults: function () {
return '<span id="tax-add-new"><i class="fa fa-plus"> {{ trans('general.title.new', ['type' => trans_choice('general.tax_rates', 1)]) }}</span>';
return '<span id="tax-add-new"><i class="fa fa-plus"></i> {{ trans('general.title.new', ['type' => trans_choice('general.tax_rates', 1)]) }}</span>';
}
}
});
Expand Down
2 changes: 1 addition & 1 deletion resources/views/incomes/invoices/item.blade.php
Expand Up @@ -18,7 +18,7 @@
@stack('quantity_td_start')
<td {{ $errors->has('item.' . $item_row . '.quantity') ? 'class="has-error"' : '' }}>
@stack('quantity_input_start')
<input value="{{ empty($item) ? '1' : $item->quantity }}" class="form-control text-center" required="required" name="item[{{ $item_row }}][quantity]" type="text" id="item-quantity-{{ $item_row }}">
<input value="{{ empty($item) ? 1 : $item->quantity }}" class="form-control text-center" required="required" name="item[{{ $item_row }}][quantity]" type="text" id="item-quantity-{{ $item_row }}">
{!! $errors->first('item.' . $item_row . '.quantity', '<p class="help-block">:message</p>') !!}
@stack('quantity_input_end')
</td>
Expand Down

0 comments on commit 26bba7c

Please sign in to comment.