Merge pull request #1227 from batuhawk/master

Flexible invoice/bill item columns
This commit is contained in:
Batuhan Baş 2020-02-04 15:17:33 +03:00 committed by GitHub
commit 78cf27b53b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 16 additions and 11 deletions

View File

@ -115,6 +115,11 @@ button:focus
overflow-y: hidden !important;
}
.overflow-y-scroll
{
overflow-y: scroll !important;
}
.g-sidenav-hidden .navbar-vertical.navbar-expand-xs
{
overflow: hidden !important;

View File

@ -122,7 +122,7 @@
<div class="row">
<div class="col-md-12 text-right">
@if (!empty($module->review_action))
<a href="{{ $module->review_action }}" class="btn btn-success" target="_blank">
<a href="{{ $module->review_action }}" class="btn btn-success header-button-top" target="_blank">
{{ trans('modules.reviews.button.add') }}
</a>
@endif

View File

@ -31,10 +31,10 @@
<div class="col-md-12 mb-4">
{!! Form::label('items', trans_choice('general.items', 2), ['class' => 'form-control-label']) !!}
<div class="table-responsive">
<div class="table-responsive overflow-y-scroll">
<table class="table table-bordered" id="items">
<thead class="thead-light">
<tr class="row">
<tr class="d-flex flex-nowrap">
@stack('actions_th_start')
<th class="col-md-1 action-column border-right-0 border-bottom-0">{{ trans('general.actions') }}</th>
@stack('actions_th_end')

View File

@ -32,10 +32,10 @@
<div class="col-md-12 mb-4">
{!! Form::label('items', trans_choice('general.items', 2), ['class' => 'control-label']) !!}
<div class="table-responsive">
<div class="table-responsive overflow-y-scroll">
<table class="table table-bordered" id="items">
<thead class="thead-light">
<tr class="row">
<tr class="d-flex flex-nowrap">
@stack('actions_th_start')
<th class="col-md-1 action-column border-right-0 border-bottom-0">{{ trans('general.actions') }}</th>
@stack('actions_th_end')

View File

@ -1,4 +1,4 @@
<tr class="row" v-for="(row, index) in form.items"
<tr class="d-flex flex-nowrap" v-for="(row, index) in form.items"
:index="index">
@stack('actions_td_start')
<td class="col-md-1 action-column border-right-0 border-bottom-0">

View File

@ -31,10 +31,10 @@
<div class="col-md-12 mb-4">
{!! Form::label('items', trans_choice($text_override['items'], 2), ['class' => 'form-control-label']) !!}
<div class="table-responsive">
<div class="table-responsive overflow-y-scroll">
<table class="table table-bordered" id="items">
<thead class="thead-light">
<tr class="row">
<tr class="d-flex flex-nowrap">
@stack('actions_th_start')
<th class="col-md-1 action-column border-right-0 border-bottom-0">{{ trans('general.actions') }}</th>
@stack('actions_th_end')

View File

@ -32,10 +32,10 @@
<div class="col-md-12 mb-4">
{!! Form::label('items', trans_choice($text_override['items'], 2), ['class' => 'control-label']) !!}
<div class="table-responsive">
<div class="table-responsive overflow-y-scroll">
<table class="table table-bordered" id="items">
<thead class="thead-light">
<tr class="row">
<tr class="d-flex flex-nowrap">
@stack('actions_th_start')
<th class="col-md-1 action-column border-right-0 border-bottom-0">{{ trans('general.actions') }}</th>
@stack('actions_th_end')

View File

@ -1,4 +1,4 @@
<tr class="row" v-for="(row, index) in form.items"
<tr class="d-flex flex-nowrap" v-for="(row, index) in form.items"
:index="index">
@stack('actions_td_start')
<td class="col-md-1 action-column border-right-0 border-bottom-0">