Zakladne rozlozenie fix
This commit is contained in:
@@ -8,8 +8,13 @@ import Logo from '@/Data/tis_full-1.svg';
|
|||||||
<div class="min-h-screen bg-gray-100">
|
<div class="min-h-screen bg-gray-100">
|
||||||
<nav class="flex items-center justify-between flex-wrap bg-stone-400 p-6">
|
<nav class="flex items-center justify-between flex-wrap bg-stone-400 p-6">
|
||||||
<div class="flex items-center flex-no-shrink text-white mr-6">
|
<div class="flex items-center flex-no-shrink text-white mr-6">
|
||||||
<Logo class="fill-blue-700 mr-4" />
|
|
||||||
<span class="font-semibold text-xl tracking-tight"><a href="/">Register právnických osôb</a></span>
|
<a href="https://transparency.sk/sk/">
|
||||||
|
<Logo class="fill-blue-700 mr-4" />
|
||||||
|
</a>
|
||||||
|
<Link :href="route('rpo')">
|
||||||
|
<span class="font-semibold text-xl tracking-tight">Register právnických osôb</span>
|
||||||
|
</Link>
|
||||||
</div>
|
</div>
|
||||||
<div class="block lg:hidden">
|
<div class="block lg:hidden">
|
||||||
<button class="flex items-center px-3 py-2 border rounded text-teal-lighter border-teal-light hover:text-white hover:border-white">
|
<button class="flex items-center px-3 py-2 border rounded text-teal-lighter border-teal-light hover:text-white hover:border-white">
|
||||||
@@ -18,15 +23,17 @@ import Logo from '@/Data/tis_full-1.svg';
|
|||||||
</div>
|
</div>
|
||||||
<div class="w-full block flex-grow lg:flex lg:items-center lg:w-auto">
|
<div class="w-full block flex-grow lg:flex lg:items-center lg:w-auto">
|
||||||
<div class="text-sm lg:flex-grow">
|
<div class="text-sm lg:flex-grow">
|
||||||
<a href="#responsive-header" class="block mt-4 lg:inline-block lg:mt-0 text-teal-lighter hover:text-white mr-4">
|
<div class="block mt-4 lg:inline-block lg:mt-0 text-teal-lighter hover:text-white mr-4">
|
||||||
Docs
|
<Link :href="route('info')">
|
||||||
</a>
|
Info
|
||||||
<a href="#responsive-header" class="block mt-4 lg:inline-block lg:mt-0 text-teal-lighter hover:text-white mr-4">
|
</Link>
|
||||||
Examples
|
</div>
|
||||||
</a>
|
<div class="block mt-4 lg:inline-block lg:mt-0 text-teal-lighter hover:text-white mr-4">
|
||||||
<a href="#responsive-header" class="block mt-4 lg:inline-block lg:mt-0 text-teal-lighter hover:text-white">
|
<Link :href="route('doc')">
|
||||||
Blog
|
Doc
|
||||||
</a>
|
</Link>
|
||||||
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<a href="#" class="inline-block text-sm px-4 py-2 leading-none border rounded text-white border-white hover:border-transparent hover:text-teal hover:bg-white mt-4 lg:mt-0">Download</a>
|
<a href="#" class="inline-block text-sm px-4 py-2 leading-none border rounded text-white border-white hover:border-transparent hover:text-teal hover:bg-white mt-4 lg:mt-0">Download</a>
|
||||||
|
|||||||
48
resources/js/Pages/Doc.vue
Normal file
48
resources/js/Pages/Doc.vue
Normal file
@@ -0,0 +1,48 @@
|
|||||||
|
<script setup>
|
||||||
|
import GuestLayout from "@/Layouts/GuestLayout.vue";
|
||||||
|
import { onMounted, ref, computed } from "vue";
|
||||||
|
import { defineEmits } from "vue";
|
||||||
|
import { Inertia } from "@inertiajs/inertia";
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<template>
|
||||||
|
<GuestLayout>
|
||||||
|
<Head title="Info" />
|
||||||
|
<div class="w-full px-4 md:px-6 text-xl text-gray-800 leading-normal">
|
||||||
|
<!--Title-->
|
||||||
|
<div class="font-sans">
|
||||||
|
|
||||||
|
<h1
|
||||||
|
class="font-bold font-sans break-normal text-gray-900 pt-6 pb-2 text-3xl md:text-4xl"
|
||||||
|
>
|
||||||
|
Register právnických osôb, podnikateľov a orgánov verejnej moci
|
||||||
|
</h1>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!--Post Content-->
|
||||||
|
|
||||||
|
<!--Lead Para-->
|
||||||
|
<p class="py-6 font-bold font-sans break-normal text-gray-900">
|
||||||
|
Introduction
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<p class="py-6">
|
||||||
|
Verejné REST API rozhranie pre poskytovanie dát z Registra
|
||||||
|
právnických osôb, podnikateľov a orgánov verejnej moci
|
||||||
|
(ďalej ako „RPO“). Správcom informačného systému RPO
|
||||||
|
je Štatistický úrad Slovenskej republiky (ŠÚ SR).
|
||||||
|
|
||||||
|
Aktualizácia údajov REST API prebieha denne v nočných hodinách.
|
||||||
|
|
||||||
|
Technické detaily k jednotlivým volaniam nájdete po kliknutí na jednotlivé Response kódy, napr. 200 OK. V odpovedi sú zasielané len tie atribúty, ktoré majú hodnotu rozdielnu od null.
|
||||||
|
|
||||||
|
Pravdivostné parametre (typu boolean) jednotlivých volaní sú vyhodnocované tak, že iba hodnota true (bez ohľadu na veľkosť písmen) je akceptovaná ako pravda (true) a akákoľvek iná hodnota je vyhodnotená ako nepravda (false). Tzn. ak je, napríklad, pri volaní Detail PO potrebné zaradiť do výsledku aj historické záznamy, zadanie parametra musí byť showHistoricalData=true. Prípadné zadanie showHistoricalData=ano bude vyhodnotené ako false, t.j. historické dáta nebudú zahrnuté vo výsledku.
|
||||||
|
Zoznam číselníkov
|
||||||
|
|
||||||
|
Vybrané atribúty, ktoré sú typu CodeValue alebo TimedCodeValue, obsahujú okrem svojej hodnoty (.value) aj číselníkový kód (.code) a označenie číselníka, z ktorého hodnota pochádza (.codelistCode). Jednotlivé číelníky, okrem číselníkov UCE a STA, ktoré sú v gescii Ministerstva vnútra SR ako správcu RFO, sú pre referenciu dostupné na nasledujúcich adresách:
|
||||||
|
</p>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</GuestLayout>
|
||||||
|
</template>
|
||||||
63
resources/js/Pages/Info.vue
Normal file
63
resources/js/Pages/Info.vue
Normal file
@@ -0,0 +1,63 @@
|
|||||||
|
<script setup>
|
||||||
|
import GuestLayout from "@/Layouts/GuestLayout.vue";
|
||||||
|
import { onMounted, ref, computed } from "vue";
|
||||||
|
import { defineEmits } from "vue";
|
||||||
|
import { Inertia } from "@inertiajs/inertia";
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<template>
|
||||||
|
<GuestLayout>
|
||||||
|
<Head title="Info" />
|
||||||
|
<div
|
||||||
|
class="min-w-screen min-h-screen bg-gray-200 flex items-center justify-center px-5 py-5"
|
||||||
|
>
|
||||||
|
<div
|
||||||
|
class="w-full mx-auto rounded-lg bg-white shadow-lg px-5 pt-5 pb-10 text-gray-800"
|
||||||
|
style="max-width: 500px"
|
||||||
|
>
|
||||||
|
<div class="w-full mb-10">
|
||||||
|
<div
|
||||||
|
class="text-xl font-bold my-2 text-indigo-500 text-center leading-tight h-3"
|
||||||
|
>
|
||||||
|
Základné informácie
|
||||||
|
</div>
|
||||||
|
<p class="pt-2 text-sm text-gray-600 text-center px-5">
|
||||||
|
Podľa zákona č. 272/2015 Z. z. o registri právnických osôb, podnikateľov
|
||||||
|
a orgánov verejnej moci a o zmene a doplnení niektorých zákonov (ďalej
|
||||||
|
len „zákon o registri právnických osôb") a v súlade s Národnou
|
||||||
|
koncepciou informatizácie verejnej správy bol s účinnosťou od 1.
|
||||||
|
novembra 2015 zriadený Register právnických osôb, podnikateľov a orgánov
|
||||||
|
verejnej moci (ďalej len „RPO“). RPO je informačným systémom verejnej
|
||||||
|
správy. Do RPO sa zapisujú údaje o právnických osobách, fyzických
|
||||||
|
osobách – podnikateľoch, podnikoch zahraničných právnických osôb,
|
||||||
|
organizačných zložkách a o orgánoch verejnej moci. Týmto je RPO
|
||||||
|
jednotným zdrojom základných údajov o zapisovaných subjektoch na účely
|
||||||
|
výkonu úradnej činnosti orgánov verejnej moci a plnenia záväzkov
|
||||||
|
Slovenskej republiky v oblasti predchádzania praniu špinavých peňazí a
|
||||||
|
boja proti terorizmu. Správcom informačného systému RPO je Štatistický
|
||||||
|
úrad Slovenskej republiky (ďalej len „ŠÚ SR“). Za správnosť údajov
|
||||||
|
zapísaných v RPO sú zodpovedné povinné osoby, ktoré vedú zdrojové
|
||||||
|
registre alebo evidencie, zápis do ktorých je podmienkou vzniku
|
||||||
|
právnickej osoby, alebo podmienkou vzniku oprávnenia na podnikanie
|
||||||
|
fyzickej osoby – podnikateľa.
|
||||||
|
</p>
|
||||||
|
<div
|
||||||
|
class="text-3xl text-indigo-500 text-right leading-tight h-3 -mt-3"
|
||||||
|
>
|
||||||
|
”
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="w-full">
|
||||||
|
<p class="text-md text-indigo-500 font-bold text-center">
|
||||||
|
Jaroslav Drzik
|
||||||
|
</p>
|
||||||
|
<p class="text-xs text-gray-500 text-center">
|
||||||
|
jaro@ttx.sk
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
</GuestLayout>
|
||||||
|
</template>
|
||||||
@@ -28,7 +28,7 @@ use Inertia\Inertia;
|
|||||||
|
|
||||||
Route::get('/', function () {
|
Route::get('/', function () {
|
||||||
return Inertia::render('Rpo');
|
return Inertia::render('Rpo');
|
||||||
});
|
})->name('rpo');
|
||||||
|
|
||||||
Route::get('/results', function () {
|
Route::get('/results', function () {
|
||||||
return Inertia::render('Results');
|
return Inertia::render('Results');
|
||||||
@@ -38,6 +38,15 @@ Route::get('/dashboard', function () {
|
|||||||
return Inertia::render('Dashboard');
|
return Inertia::render('Dashboard');
|
||||||
})->middleware(['auth', 'verified'])->name('dashboard');
|
})->middleware(['auth', 'verified'])->name('dashboard');
|
||||||
|
|
||||||
|
Route::get('/info', function () {
|
||||||
|
return Inertia::render('Info');
|
||||||
|
})->name('info');
|
||||||
|
|
||||||
|
Route::get('/doc', function () {
|
||||||
|
return Inertia::render('Doc');
|
||||||
|
})->name('doc');
|
||||||
|
|
||||||
|
|
||||||
Route::middleware('auth')->group(function () {
|
Route::middleware('auth')->group(function () {
|
||||||
Route::get('/profile', [ProfileController::class, 'edit'])->name('profile.edit');
|
Route::get('/profile', [ProfileController::class, 'edit'])->name('profile.edit');
|
||||||
Route::patch('/profile', [ProfileController::class, 'update'])->name('profile.update');
|
Route::patch('/profile', [ProfileController::class, 'update'])->name('profile.update');
|
||||||
|
|||||||
Reference in New Issue
Block a user