mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-08 23:24:28 -04:00
commit
0de3b4a0ff
@ -1,5 +1,6 @@
|
||||
<?php
|
||||
|
||||
use App\Models\Company;
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
@ -17,6 +18,22 @@ return new class extends Migration
|
||||
$table->unsignedInteger("max_quantity")->nullable();
|
||||
$table->string("product_image", 191)->nullable();
|
||||
});
|
||||
|
||||
Company::query()
|
||||
->chunk(1000, function ($companies) {
|
||||
|
||||
foreach($companies as $c)
|
||||
{
|
||||
|
||||
$settings = $c->settings;
|
||||
$settings->font_size = 16;
|
||||
$c->settings = $settings;
|
||||
$c->save();
|
||||
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -11,10 +11,15 @@
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
font-family: $font_name, Helvetica, sans-serif;
|
||||
font-size: "$font_size";
|
||||
font-size: $font_size !important;
|
||||
zoom: 80%;
|
||||
}
|
||||
|
||||
table tr td, table tr, th {
|
||||
font-size: $font_size !important;
|
||||
}
|
||||
|
||||
|
||||
body, html {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
@ -114,7 +119,7 @@
|
||||
min-width: 100%;
|
||||
table-layout: fixed;
|
||||
overflow-wrap: break-word;
|
||||
margin-top: 3rem;
|
||||
margin-top: 0rem;
|
||||
margin-bottom: 0px;
|
||||
}
|
||||
|
||||
|
@ -16,10 +16,16 @@
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
font-family: $font_name, Helvetica, sans-serif;
|
||||
font-size: "$font_size";
|
||||
font-size: $font_size !important;
|
||||
zoom: 80%;
|
||||
}
|
||||
|
||||
|
||||
table tr td, table tr, th {
|
||||
font-size: $font_size !important;
|
||||
}
|
||||
|
||||
|
||||
@page {
|
||||
margin-left: $global_margin;
|
||||
margin-right: $global_margin;
|
||||
|
@ -11,10 +11,15 @@
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
font-family: $font_name, Helvetica, sans-serif;
|
||||
font-size: "$font_size";
|
||||
font-size: $font_size !important;
|
||||
zoom: 80%;
|
||||
}
|
||||
|
||||
|
||||
table tr td, table tr, th {
|
||||
font-size: $font_size !important;
|
||||
}
|
||||
|
||||
html {
|
||||
margin: 0;
|
||||
padding-top: 1rem;
|
||||
|
@ -16,10 +16,14 @@
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
font-family: $font_name, Helvetica, sans-serif;
|
||||
font-size: "$font_size";
|
||||
font-size: $font_size !important;
|
||||
zoom: 80%;
|
||||
}
|
||||
|
||||
table tr td, table tr, th {
|
||||
font-size: $font_size !important;
|
||||
}
|
||||
|
||||
@page {
|
||||
margin-left: $global_margin;
|
||||
margin-right: $global_margin;
|
||||
|
@ -16,10 +16,15 @@
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
font-family: $font_name, Helvetica, sans-serif;
|
||||
font-size: "$font_size";
|
||||
font-size: $font_size !important;
|
||||
zoom: 80%;
|
||||
}
|
||||
|
||||
|
||||
table tr td, table tr, th {
|
||||
font-size: $font_size !important;
|
||||
}
|
||||
|
||||
@page {
|
||||
margin-left: $global_margin;
|
||||
margin-right: $global_margin;
|
||||
|
@ -16,10 +16,14 @@
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
font-family: $font_name, Helvetica, sans-serif;
|
||||
font-size: "$font_size";
|
||||
font-size: $font_size !important;
|
||||
zoom: 80%;
|
||||
}
|
||||
|
||||
table tr td, table tr, th {
|
||||
font-size: $font_size !important;
|
||||
}
|
||||
|
||||
@page {
|
||||
margin: $global_margin;
|
||||
size: $page_size $page_layout;
|
||||
|
@ -16,10 +16,14 @@
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
font-family: $font_name, Helvetica, sans-serif;
|
||||
font-size: "$font_size";
|
||||
font-size: $font_size !important;
|
||||
zoom: 80%;
|
||||
}
|
||||
|
||||
table tr td, table tr, th {
|
||||
font-size: $font_size !important;
|
||||
}
|
||||
|
||||
@page {
|
||||
margin: $global_margin;
|
||||
size: $page_size $page_layout;
|
||||
|
@ -15,10 +15,14 @@
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
font-family: $font_name, Helvetica, sans-serif;
|
||||
font-size: "7px";
|
||||
font-size: $font_size !important;
|
||||
zoom: 80%;
|
||||
}
|
||||
|
||||
table tr td, table tr, th {
|
||||
font-size: $font_size !important;
|
||||
}
|
||||
|
||||
body, html {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
|
@ -11,10 +11,14 @@
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
font-family: $font_name, Helvetica, sans-serif;
|
||||
font-size: "$font_size";
|
||||
font-size: $font_size !important;
|
||||
zoom: 80%;
|
||||
}
|
||||
|
||||
table tr td, table tr, th {
|
||||
font-size: $font_size !important;
|
||||
}
|
||||
|
||||
html {
|
||||
width: 210mm;
|
||||
height: 200mm;
|
||||
|
@ -11,10 +11,14 @@
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
font-family: $font_name, Helvetica, sans-serif;
|
||||
font-size: "$font_size";
|
||||
font-size: $font_size !important;
|
||||
zoom: 80%;
|
||||
}
|
||||
|
||||
table tr td, table tr, th {
|
||||
font-size: $font_size !important;
|
||||
}
|
||||
|
||||
html {
|
||||
width: 210mm;
|
||||
height: 200mm;
|
||||
|
@ -15,11 +15,15 @@
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
font-family: $font_name, Helvetica, sans-serif;
|
||||
font-size: "$font_size";
|
||||
font-size: $font_size !important;
|
||||
zoom: 80%;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
table tr td, table tr, th {
|
||||
font-size: $font_size !important;
|
||||
}
|
||||
|
||||
@page {
|
||||
margin: 0;
|
||||
size: $page_size $page_layout;
|
||||
|
Loading…
x
Reference in New Issue
Block a user