diff --git a/public/css/print.css b/public/css/print.css index 0b1d3ccbd..738af5d3e 100644 --- a/public/css/print.css +++ b/public/css/print.css @@ -25,10 +25,14 @@ th, td margin-bottom: 9px; } -.right-column { +html[dir='ltr'] .right-column { text-align: right; } +html[dir='rtl'] .right-column { + text-align: left; +} + .small-text { font-size: 10px; } @@ -64,11 +68,26 @@ th, td margin-top: 8px; } -.print-template .ml-1 +html[dir='ltr'] .print-template .ml-1 { margin-left: 8px; } +html[dir='rtl'] .print-template .ml-1 +{ + margin-right: 8px; +} + +html[dir='ltr'] .print-template .ml-2 +{ + margin-right: 16px; +} + +html[dir='rtl'] .print-template .ml-2 +{ + margin-left: 16px; +} + .pl-head { padding-left: 18px; @@ -239,16 +258,26 @@ html[dir='rtl'] .border-radius-last { border-radius: 10px 0px 0px 10px; } -.float-left +html[dir='ltr'] .float-left { float: left !important; } -.float-right +html[dir='rtl'] .float-left { float: right !important; } +html[dir='ltr'] .float-right +{ + float: right !important; +} + +html[dir='rtl'] .float-right +{ + float: left !important; +} + .font-size-unset { font-size: unset; @@ -291,11 +320,16 @@ html[dir='rtl'] .text-alignment-right { text-align: left !important; } -.text-right +html[dir='ltr'] .text-right { text-align: right; } +html[dir='rtl'] .text-right +{ + text-align: left; +} + .text-center { text-align: center; diff --git a/resources/views/components/form/accordion/head.blade.php b/resources/views/components/form/accordion/head.blade.php index 9dc7e41c5..bb4d36897 100644 --- a/resources/views/components/form/accordion/head.blade.php +++ b/resources/views/components/form/accordion/head.blade.php @@ -4,7 +4,7 @@ @if (! empty($description)) - + {!! $description !!} @endif diff --git a/resources/views/components/form/section/head.blade.php b/resources/views/components/form/section/head.blade.php index 22387faf0..3b25475cc 100644 --- a/resources/views/components/form/section/head.blade.php +++ b/resources/views/components/form/section/head.blade.php @@ -4,7 +4,7 @@ @if (!empty($description)) - + {!! $description !!} @endif diff --git a/resources/views/components/media/file.blade.php b/resources/views/components/media/file.blade.php index b08809a32..87687236c 100644 --- a/resources/views/components/media/file.blade.php +++ b/resources/views/components/media/file.blade.php @@ -5,7 +5,7 @@ @else attach_file @endif -
+
{{ $file->basename }} {{ $file->readableSize() }}
diff --git a/resources/views/components/show/accordion/head.blade.php b/resources/views/components/show/accordion/head.blade.php index 8f8d3e458..69af6ca93 100644 --- a/resources/views/components/show/accordion/head.blade.php +++ b/resources/views/components/show/accordion/head.blade.php @@ -1,4 +1,4 @@ -
+

{{ $title }} @@ -6,7 +6,7 @@

@if (! empty($description)) - + {!! $description !!} @endif diff --git a/resources/views/components/show/accordion/index.blade.php b/resources/views/components/show/accordion/index.blade.php index bac3c269a..8872decbe 100644 --- a/resources/views/components/show/accordion/index.blade.php +++ b/resources/views/components/show/accordion/index.blade.php @@ -5,7 +5,7 @@
{!! $head !!} - +
@endif diff --git a/resources/views/components/transactions/show/attachment.blade.php b/resources/views/components/transactions/show/attachment.blade.php index f1a0c520f..c65ba98c0 100644 --- a/resources/views/components/transactions/show/attachment.blade.php +++ b/resources/views/components/transactions/show/attachment.blade.php @@ -2,7 +2,7 @@
-
@@ -11,11 +11,11 @@ -
+
{{ trans('transactions.slider.attachments') }}
- expand_more + expand_more
- diff --git a/resources/views/components/transactions/show/create.blade.php b/resources/views/components/transactions/show/create.blade.php index cd1670cc0..02fc60187 100644 --- a/resources/views/components/transactions/show/create.blade.php +++ b/resources/views/components/transactions/show/create.blade.php @@ -1,7 +1,7 @@ @php $created_date = '' . company_date($transaction->created_at) . '' @endphp
-
-
- @@ -38,7 +38,7 @@
@else
-
+
{{ trans('messages.warning.missing_transfer') }} diff --git a/resources/views/components/transactions/template/default.blade.php b/resources/views/components/transactions/template/default.blade.php index f5137ada9..1af4ee0a4 100644 --- a/resources/views/components/transactions/template/default.blade.php +++ b/resources/views/components/transactions/template/default.blade.php @@ -368,11 +368,8 @@ - - -
- {{ trans($textAmount) }} - + + {{ trans($textAmount) }} @money($transaction->amount, $transaction->currency_code, true)