Remove reference to silvaletter package
This commit is contained in:
parent
b67fa85539
commit
11dcabf553
|
@ -1,6 +1,3 @@
|
||||||
[submodule "packages/silvaletter"]
|
|
||||||
path = packages/silvaletter
|
|
||||||
url = https://git.zoomyboy.de/silva/silvaletter.git
|
|
||||||
[submodule "packages/laravel-nami"]
|
[submodule "packages/laravel-nami"]
|
||||||
path = packages/laravel-nami
|
path = packages/laravel-nami
|
||||||
url = https://git.zoomyboy.de/silva/laravel-nami-api
|
url = https://git.zoomyboy.de/silva/laravel-nami-api
|
||||||
|
|
|
@ -64,7 +64,7 @@ abstract class InvoiceDocument extends Document
|
||||||
|
|
||||||
public function template(): Template
|
public function template(): Template
|
||||||
{
|
{
|
||||||
return Template::make('tex.templates.default');
|
return Template::make('tex.templates.letter');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setFilename(string $filename): self
|
public function setFilename(string $filename): self
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
Subproject commit 409cbaf4639d20aea52caa8e2136ffbcf9d4c7cc
|
|
|
@ -1,4 +1,4 @@
|
||||||
\documentclass[silvaletter,12pt]{scrlttr2}
|
\documentclass[dpsgletter,12pt]{scrlttr2}
|
||||||
|
|
||||||
\setkomavar{subject}{<<< $getSubject >>>}
|
\setkomavar{subject}{<<< $getSubject >>>}
|
||||||
\setkomavar{fromname}[<<<$settings->from>>>]{<<<$settings->from_long>>>}
|
\setkomavar{fromname}[<<<$settings->from>>>]{<<<$settings->from_long>>>}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
\documentclass[silvaletter,12pt]{scrlttr2}
|
\documentclass[dpsgletter,12pt]{scrlttr2}
|
||||||
|
|
||||||
\setkomavar{subject}{<<< $getSubject >>>}
|
\setkomavar{subject}{<<< $getSubject >>>}
|
||||||
\setkomavar{fromname}[<<<$settings->from>>>]{<<<$settings->from_long>>>}
|
\setkomavar{fromname}[<<<$settings->from>>>]{<<<$settings->from_long>>>}
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
../../../../packages/silvaletter/template
|
|
|
@ -0,0 +1,43 @@
|
||||||
|
\ProvidesFile{dpsgletter.lco}
|
||||||
|
|
||||||
|
% ---------------------------- Require packages ----------------------------
|
||||||
|
\RequirePackage{xcolor}
|
||||||
|
\RequirePackage[utf8]{inputenc}
|
||||||
|
\RequirePackage[T1]{fontenc}
|
||||||
|
\RequirePackage[german]{babel}
|
||||||
|
\RequirePackage{fp}
|
||||||
|
\RequirePackage{booktabs}
|
||||||
|
\RequirePackage{ragged2e}
|
||||||
|
\RequirePackage{graphicx}
|
||||||
|
\RequirePackage{numprint}
|
||||||
|
\RequirePackage[gen]{eurosym}
|
||||||
|
|
||||||
|
\RequirePackage[condensed,math]{kurier}
|
||||||
|
|
||||||
|
% ---------------------------- Color definition ----------------------------
|
||||||
|
\definecolor{dpsgblue}{HTML}{003056}
|
||||||
|
|
||||||
|
% ----------------------------- font settings ------------------------------
|
||||||
|
\addtokomafont{subject}{\large\color{dpsgblue}}
|
||||||
|
|
||||||
|
% -------------------------- Calculation of table --------------------------
|
||||||
|
\gdef\TotalHT{0}
|
||||||
|
\newcommand{\product}[2]{%
|
||||||
|
#1 & \FPmul\temp{#2}{1}\FPround\temp{\temp}{2}\numprint[\euro]{\temp}
|
||||||
|
%% Totalize
|
||||||
|
\FPadd\total{\TotalHT}{\temp}%
|
||||||
|
\FPround\total{\total}{2}%
|
||||||
|
\global\let\TotalHT\total%
|
||||||
|
\\ }
|
||||||
|
\newcommand{\totalttc}{\numprint[\euro]{\TotalHT}
|
||||||
|
}
|
||||||
|
|
||||||
|
% ---------------------------- Global variables ----------------------------
|
||||||
|
\KOMAoptions{DIV=15, pagenumber=no, enlargefirstpage, firstfoot=false, foldmarks, fromlogo, fromalign=right}
|
||||||
|
\setlength{\parindent}{0pt}
|
||||||
|
\setlength{\parskip}{10pt}
|
||||||
|
\setkomavar{backaddressseparator}{ $\cdot$ }
|
||||||
|
\setkomavar{fromlogo}{\includegraphics[width=2cm]{logo.png}} % stammeslogo
|
||||||
|
\renewcommand*{\raggedsignature}{\raggedright} % Signatur links ausrichten
|
||||||
|
\setkomavar{signature}{} % Kein From unter Unterschriften-Feld
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 98 KiB |
Loading…
Reference in New Issue