\documentclass[10pt,a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage[czech]{babel}
\usepackage{array}
%\usepackage{multicolumn}
\pagestyle{empty}
\setlength{\topmargin}{-1.54cm}
\setlength{\oddsidemargin}{-1cm}
\setlength{\evensidemargin}{-1cm}
\setlength{\textwidth}{17.5cm}
\setlength{\textheight}{25.5cm}
\def\commonWidth{0.09\textwidth}
\def\longWidth{0.6\textwidth}
\begin{document}
%
%\valign to\vsize{\tabskip=0pt plus1fil #\vfill & \tabskip=0pt #\hfil\cr
%
% Hlavicka faktury
%
\begin{center}
{\huge \bf Time Sheet of External Worker} 
\end{center}
%\tabskip=2em plus 5em
%\halign to\hsize{\tabskip=0pt plus1fil #\hfil 
%& \tabskip=0pt #\hfil 
%& \tabskip=0pt #\hfil 
%& \tabskip=0pt #\quad\cr
\begin{tabular}{>{\centering\arraybackslash}m{\commonWidth}>{\arraybackslash}m{\longWidth}>{\arraybackslash}m{\commonWidth}>{\arraybackslash}m{\commonWidth}}
area: & {\bf } & period:&{\bf 5/2018} \cr 
& & department:&{\bf } \cr 
\end{tabular}
%\noalign{\medskip\hrule height 1.8pt\smallskip\hrule\smallskip}}
%\halign to\hsize{\tabskip=0pt \hfil# &\tabskip=0pt plus1fil #\hfil & 
%\tabskip=0pt \hfil # & \tabskip=2em plus 5em #\hfil\cr
%\noalign{\bigskip\bigskip}
\vskip 0.5cm	
%
% Hlavni time sheeetu
%
\scriptsize
\begin{tabular}{|>{\centering\arraybackslash}m{\commonWidth}|>{\centering\arraybackslash}m{\longWidth}|>{\centering\arraybackslash}m{\commonWidth}| >{\centering\arraybackslash}m{\commonWidth}|}
\hline 
{\bf date} &{\bf job description} & {\bf effort} & \bf{wks load} \cr
\hline 
- - - - -&- - - - - - - - - - - - - - - & - - - - - & - - - - -\cr- - - - -&- - - - - - - - - - - - - - - & - - - - - & - - - - -\cr- - - - -&- - - - - - - - - - - - - - - & - - - - - & - - - - -\cr- - - - -&- - - - - - - - - - - - - - - & - - - - - & - - - - -\cr- - - - -&- - - - - - - - - - - - - - - & - - - - - & - - - - -\cr- - - - -&- - - - - - - - - - - - - - - & - - - - - & - - - - -\cr7.5.2018&(LPR) Analýza kódu pro MCU PIC24F04KL100, (LPR) Analýza HW.&4& - - - - -\cr8.5.2018&(LPR) Simulace komparátoru C1INA a Vbg/2 na PIC24F04KA200, (LPR) Simulace zpoždění a hodinového taktu na PIC24F04KA200.&4& - - - - -\cr9.5.2018&(DOC) Analýza kódu pro MCU PIC24F04KL100.&4& - - - - -\cr- - - - -&- - - - - - - - - - - - - - - & - - - - - & - - - - -\cr11.5.2018&(NME) IT infrastruktura a build obrazů, (NME) Spínání v 0.&2& - - - - -\cr- - - - -&- - - - - - - - - - - - - - - & - - - - - & - - - - -\cr- - - - -&- - - - - - - - - - - - - - - & - - - - - & - - - - -\cr14.5.2018&(LPR) Zkouška buildu image  v Dockeru.&4& - - - - -\cr15.5.2018&(LPR) Zkouška buildu image  v Dockeru - image ubuntu:16.04.&4& - - - - -\cr16.5.2018&(LPR) pokračování v křížovém překladu, problémy s cmake ver. 3 a více, (LPR) úvod do cmake - projití základního  tutoriálu (konfigurační hlavičkový soubor, přidání knihovny, instalace).&4& - - - - -\cr17.5.2018&(DOC) překreslení schémat, (LPR) procházení buildování kernelu.&4& - - - - -\cr18.5.2018&(LPR) build uboot a kernel s gcc od  Ralinku, (NME) schůzka v Domečku.&4& - - - - -\cr- - - - -&- - - - - - - - - - - - - - - & - - - - - & - - - - -\cr- - - - -&- - - - - - - - - - - - - - - & - - - - - & - - - - -\cr21.5.2018&(LPR) Dockerfile - vytvoření pro crosscompile setup.&4& - - - - -\cr22.5.2018&(LPR) Dockerfile pro build Yocto.&4& - - - - -\cr23.5.2018&(LPR) Dockerfile pro build aplikací, Yocto, kernel, uboot.&4& - - - - -\cr24.5.2018&(LPR) Dockerfile pro build aplikací, Yocto, kernel, uboot.&4& - - - - -\cr- - - - -&- - - - - - - - - - - - - - - & - - - - - & - - - - -\cr- - - - -&- - - - - - - - - - - - - - - & - - - - - & - - - - -\cr- - - - -&- - - - - - - - - - - - - - - & - - - - - & - - - - -\cr28.5.2018&(LPR) Zkouška buildu finálního firmware v Dockeru.&4& - - - - -\cr29.5.2018&(DHP) Pokračování buildu v dockeru.&4& - - - - -\cr- - - - -&- - - - - - - - - - - - - - - & - - - - - & - - - - -\cr- - - - -&- - - - - - - - - - - - - - - & - - - - - & - - - - -\cr
\hline 
\multicolumn{2}{|l|}{}&&\cr
%\cline{1-3}
\multicolumn{2}{|l|}{\bf working time, inclusive of overtimes:}&{\bf 58}& \\
\multicolumn{2}{|l|}{}&&\cr
%\cline{2-2}
\hline
\end{tabular}
\vskip 2mm
\noindent
{\bf Legend: }
LPR - Learning Process, DOC - Documentation, NME - NETIO Meeting, DHP - Development for HPC
\vskip 4mm
\normalsize
%
% Podpisy
%
%\tabskip=2em plus 5em
%\halign to\hsize{\tabskip=0pt plus1fil \quad\hfil#\hfil 
%& \tabskip=0pt \hfil#\hfil\quad\cr

\setlength{\unitlength}{1mm}

\begin{tabular}{>{\arraybackslash}m{2.2cm}>{\arraybackslash}m{6cm}>{\arraybackslash}m{10cm}}
edited by: &{\bf Pavel Štemberk} &

\begin{picture}(100,10)(0,0)
\linethickness{0.5pt}
\put(0,0){\line(1,0){60}}
\put(0,10){\line(1,0){60}}
\put(0,0){\line(0,0){10}}
\put(60,0){\line(0,0){10}}
\end{picture}
\cr
ext. partner: & {\bf HW Server, s.r.o.} &\cr
team leader: & {\bf } & 
\begin{picture}(100,10)(0,0)
\linethickness{0.5pt}
\put(0,0){\line(1,0){60}}
\put(0,10){\line(1,0){60}}
\put(0,0){\line(0,0){10}}
\put(60,0){\line(0,0){10}}
\end{picture}

\cr
\end{tabular}



\end{document}
