├── public ├── favicon.ico ├── .user.ini ├── robots.txt ├── .gitignore └── .htaccess ├── database ├── .gitignore ├── seeds │ ├── DatabaseSeeder.php │ └── UsersTableSeeder.php ├── migrations │ ├── 2017_06_08_072248_change_eur_symbol.php │ ├── 2017_05_29_085911_add_su_weg_hga_zeilen.php │ ├── 2017_05_30_054127_add_su_kontenrahmen.php │ ├── 2016_06_07_100000_create_password_resets_table.php │ ├── 2019_03_05_084951_add_invoice_forwarded_flag_to_RECHNUNGEN.php │ └── 2019_02_26_125522_add_energy_cost_inflation_to_hoa_budget_table.php └── factories │ └── ModelFactory.php ├── resources ├── parser │ ├── .gitignore │ └── script.php ├── assets │ ├── sass │ │ ├── berlussimo.scss │ │ ├── vendor.scss │ │ └── app.scss │ ├── js │ │ ├── server │ │ │ └── resources │ │ │ │ ├── index.ts │ │ │ │ └── mixins.ts │ │ ├── materialize.js │ │ ├── modules.d.ts │ │ ├── libraries │ │ │ ├── moment.ts │ │ │ ├── Echo.ts │ │ │ ├── numbro.ts │ │ │ ├── vuetify │ │ │ │ └── VDataTable.vue │ │ │ └── axios.ts │ │ ├── filters │ │ │ ├── index.ts │ │ │ ├── substituteNewlineWithBr.ts │ │ │ ├── sformat.ts │ │ │ ├── dformat.ts │ │ │ └── nformat.ts │ │ ├── store │ │ │ ├── modules │ │ │ │ ├── unit │ │ │ │ │ └── store.ts │ │ │ │ ├── house │ │ │ │ │ └── store.ts │ │ │ │ ├── invoice │ │ │ │ │ └── store.ts │ │ │ │ ├── object │ │ │ │ │ └── store.ts │ │ │ │ └── person │ │ │ │ │ └── store.ts │ │ │ └── shared │ │ │ │ ├── legacy.ts │ │ │ │ ├── workplace.ts │ │ │ │ ├── refresh.ts │ │ │ │ ├── menu.ts │ │ │ │ ├── snackbar.ts │ │ │ │ └── messages.ts │ │ ├── router.ts │ │ ├── imports.ts │ │ ├── components │ │ │ ├── modules │ │ │ │ ├── dashboard │ │ │ │ │ └── DetailViewBreadcrumbs.vue │ │ │ │ ├── house │ │ │ │ │ └── ListViewBreadcrumbs.vue │ │ │ │ ├── object │ │ │ │ │ └── ListViewBreadcrumbs.vue │ │ │ │ ├── unit │ │ │ │ │ └── ListViewBreadcrumbs.vue │ │ │ │ ├── person │ │ │ │ │ └── ListViewBreadcrumbs.vue │ │ │ │ └── assignment │ │ │ │ │ └── ListViewBreadcrumbs.vue │ │ │ ├── common │ │ │ │ ├── identifiers │ │ │ │ │ ├── BankAccountIdentifier.vue │ │ │ │ │ ├── JobIdentifier.vue │ │ │ │ │ ├── JobTitleIdentifier.vue │ │ │ │ │ ├── PartnerIdentifier.vue │ │ │ │ │ ├── AccountingEntityIdentifier.vue │ │ │ │ │ └── ConstructionSiteIdentifier.vue │ │ │ │ ├── VSelect.vue │ │ │ │ ├── tiles │ │ │ │ │ ├── AccountingEntityTile.vue │ │ │ │ │ ├── ConstructionSiteTile.vue │ │ │ │ │ ├── BankAccountStandardChartTile.vue │ │ │ │ │ ├── BankAccountTile.vue │ │ │ │ │ └── BookingAccountTile.vue │ │ │ │ └── chips │ │ │ │ │ ├── UnitChip.vue │ │ │ │ │ ├── HouseChip.vue │ │ │ │ │ ├── InvoiceChip.vue │ │ │ │ │ ├── ObjectChip.vue │ │ │ │ │ ├── PartnerChip.vue │ │ │ │ │ ├── AccountingEntityChip.vue │ │ │ │ │ ├── ConstructionSiteChip.vue │ │ │ │ │ ├── BankAccountChip.vue │ │ │ │ │ ├── RentalContractChip.vue │ │ │ │ │ └── PurchaseContractChip.vue │ │ │ ├── shared │ │ │ │ ├── Footer.vue │ │ │ │ ├── LegacyLoader.vue │ │ │ │ ├── UserMenuList.vue │ │ │ │ ├── main │ │ │ │ │ └── Menu.vue │ │ │ │ └── cards │ │ │ │ │ └── PartnerCard.vue │ │ │ └── auth │ │ │ │ └── UserLoader.vue │ │ └── mixins │ │ │ └── CopyToClipboard.vue │ └── stylus │ │ └── main.styl ├── views │ ├── auth │ │ ├── login.blade.php │ │ └── emails │ │ │ └── password.blade.php │ ├── shared │ │ ├── menus │ │ │ ├── sub.blade.php │ │ │ ├── partner_select.blade.php │ │ │ └── account_select.blade.php │ │ ├── entities │ │ │ ├── job.blade.php │ │ │ ├── lager.blade.php │ │ │ ├── baustelle_extern.blade.php │ │ │ ├── login.blade.php │ │ │ ├── wirtschaftseinheit.blade.php │ │ │ ├── jobtitel.blade.php │ │ │ ├── details │ │ │ │ ├── detail.blade.php │ │ │ │ ├── hinweis.blade.php │ │ │ │ ├── adresse.blade.php │ │ │ │ ├── fax.blade.php │ │ │ │ ├── telefon.blade.php │ │ │ │ └── email.blade.php │ │ │ ├── detail.blade.php │ │ │ ├── partner.blade.php │ │ │ ├── benutzer.blade.php │ │ │ └── kaufvertrag.blade.php │ │ ├── tables │ │ │ ├── paginator.blade.php │ │ │ └── entities-with-paginator.blade.php │ │ ├── messages.blade.php │ │ └── cards │ │ │ ├── roles.blade.php │ │ │ ├── haeuser.blade.php │ │ │ ├── mieter.blade.php │ │ │ ├── einheiten.blade.php │ │ │ ├── hinweise.blade.php │ │ │ └── eigentuemer.blade.php │ ├── modules │ │ ├── einheiten │ │ │ └── index.blade.php │ │ ├── personen │ │ │ └── index.blade.php │ │ ├── auftraege │ │ │ └── index.blade.php │ │ └── haeuser │ │ │ └── index.blade.php │ └── vendor │ │ └── pagination │ │ └── simple-default.blade.php └── lang │ ├── de │ ├── pagination.php │ ├── auth.php │ └── passwords.php │ └── en │ ├── pagination.php │ ├── auth.php │ └── passwords.php ├── app ├── Services │ └── Parser │ │ └── .gitignore ├── Messages │ ├── InfoMessage.php │ ├── ErrorMessage.php │ ├── SuccessMessage.php │ ├── WarningMessage.php │ └── Message.php ├── Models │ ├── Contracts │ │ └── Active.php │ ├── Traits │ │ ├── DefaultOrder.php │ │ ├── CopyObject.php │ │ ├── HasEnum.php │ │ └── Searchable.php │ ├── Scopes │ │ └── AktuellScope.php │ ├── Gewerke.php │ ├── HOABudgetProfile.php │ ├── Posting.php │ ├── InvoiceItemUnit.php │ ├── HomeownerAssociationBudget.php │ ├── DetailSubcategory.php │ ├── BaustellenExtern.php │ └── JobTitle.php ├── Http │ ├── Requests │ │ ├── Api │ │ │ └── v1 │ │ │ │ ├── PBX │ │ │ │ ├── CallRequest.php │ │ │ │ └── LookupRequest.php │ │ │ │ └── Modules │ │ │ │ └── Invoice │ │ │ │ └── Line │ │ │ │ └── UpdateRequest.php │ │ ├── AuthenticatedRequest.php │ │ ├── Legacy │ │ │ ├── AdminRequest.php │ │ │ ├── WEGRequest.php │ │ │ ├── LagerRequest.php │ │ │ ├── SepaRequest.php │ │ │ ├── BkRequest.php │ │ │ ├── BuchenRequest.php │ │ │ ├── DetailsRequest.php │ │ │ ├── HaeuserRequest.php │ │ │ ├── KassenRequest.php │ │ │ ├── ObjekteRequest.php │ │ │ ├── ToDoRequest.php │ │ │ ├── UrlaubRequest.php │ │ │ ├── BenutzerRequest.php │ │ │ ├── EinheitenRequest.php │ │ │ ├── KatalogRequest.php │ │ │ ├── KautionenRequest.php │ │ │ ├── PartnerRequest.php │ │ │ ├── PersonalRequest.php │ │ │ ├── PersonenRequest.php │ │ │ ├── GeldkontenRequest.php │ │ │ ├── LeerstandRequest.php │ │ │ ├── RechnungenRequest.php │ │ │ ├── StatistikRequest.php │ │ │ ├── MieteBuchenRequest.php │ │ │ ├── MietspiegelRequest.php │ │ │ ├── UebersichtRequest.php │ │ │ ├── KontenrahmenRequest.php │ │ │ ├── MietvertraegeRequest.php │ │ │ ├── ZeiterfassungRequest.php │ │ │ ├── MietanpassungenRequest.php │ │ │ ├── MieteDefinierenRequest.php │ │ │ └── MietkontenblattRequest.php │ │ └── Modules │ │ │ └── Persons │ │ │ ├── UpdateRequest.php │ │ │ ├── MergeRequest.php │ │ │ ├── Credentials │ │ │ ├── UpdateRequest.php │ │ │ └── StoreRequest.php │ │ │ └── Jobs │ │ │ └── UpdateRequest.php │ ├── Middleware │ │ ├── EncryptCookies.php │ │ ├── VerifyCsrfToken.php │ │ ├── TrimStrings.php │ │ ├── RedirectIfAuthenticated.php │ │ ├── AuthenticateWithIP.php │ │ └── DatabaseTransaction.php │ └── Controllers │ │ ├── Legacy │ │ ├── ListenController.php │ │ ├── BkController.php │ │ ├── UebersichtController.php │ │ ├── SepaController.php │ │ ├── LagerController.php │ │ ├── MietkontenblattController.php │ │ ├── BuchenController.php │ │ ├── KassenController.php │ │ ├── UrlaubController.php │ │ ├── AdminController.php │ │ ├── DetailsController.php │ │ ├── KatalogController.php │ │ ├── BenutzerController.php │ │ ├── PersonalController.php │ │ ├── HaeuserFormController.php │ │ ├── KautionenController.php │ │ ├── LeerstandController.php │ │ ├── StatistikController.php │ │ ├── ObjekteFormController.php │ │ ├── EinheitenFormController.php │ │ ├── MietspiegelController.php │ │ ├── KontenrahmenController.php │ │ ├── MieteBuchenController.php │ │ ├── ZeiterfassungController.php │ │ ├── MietanpassungenController.php │ │ ├── MieteDefinierenController.php │ │ ├── WartungsplanerController.php │ │ ├── RechnungenController.php │ │ ├── IndexController.php │ │ ├── PartnerController.php │ │ ├── GeldkontenController.php │ │ ├── HaeuserController.php │ │ ├── ObjekteController.php │ │ ├── PersonenController.php │ │ └── EinheitenController.php │ │ ├── Api │ │ └── v1 │ │ │ ├── IndexController.php │ │ │ └── Modules │ │ │ ├── WorkplaceController.php │ │ │ ├── RoleController.php │ │ │ └── NotificationController.php │ │ ├── Controller.php │ │ ├── Broadcasting │ │ └── NchanPresenceController.php │ │ ├── HomeController.php │ │ └── Storage │ │ └── StorageController.php ├── Factories │ └── ResponseFactory.php ├── Libraries │ └── Role.php ├── Observers │ └── DatabaseNotificationObserver.php ├── Facades │ ├── ListViews.php │ └── Relations.php ├── Providers │ ├── FileSystemServiceProvider.php │ ├── ResponseFactoryServiceProvider.php │ ├── BroadcastServiceProvider.php │ ├── EventServiceProvider.php │ └── AuthServiceProvider.php └── Filesystem │ └── FilesystemManager.php ├── bootstrap ├── cache │ └── .gitignore └── autoload.php ├── storage ├── app │ ├── public │ │ └── .gitignore │ ├── backups │ │ └── .gitignore │ ├── fotos │ │ └── .gitignore │ ├── logos │ │ ├── Kasse │ │ │ └── .gitignore │ │ ├── Lager │ │ │ └── .gitignore │ │ └── Partner │ │ │ └── .gitignore │ ├── serienbriefe │ │ └── .gitignore │ ├── kontenberichte │ │ └── .gitignore │ ├── objektberichte │ │ └── .gitignore │ └── .gitignore ├── debugbar │ └── .gitignore ├── logs │ └── .gitignore └── framework │ ├── testing │ └── .gitignore │ ├── cache │ └── .gitignore │ ├── views │ └── .gitignore │ ├── sessions │ └── .gitignore │ └── .gitignore ├── legacy ├── graph │ ├── public.inc.php │ ├── BarGraph.png │ ├── PieGraph.png │ ├── img │ │ └── info.png │ ├── LineGraph.png │ ├── BarGraphWithLegend.png │ ├── SVGraph.php │ ├── installation.txt │ └── examples │ │ └── myPieGraph.php ├── .htaccess ├── images │ ├── wb.png │ ├── x.png │ ├── del.png │ ├── bk │ │ ├── blau.png │ │ ├── rot.png │ │ └── gruen.png │ ├── p_oben.jpg │ ├── p_unten.jpg │ ├── pdf_dark.png │ ├── pdf_light.png │ └── wartungsplaner │ │ ├── nach.png │ │ └── vor.png ├── options │ ├── links │ │ ├── links.person.php │ │ ├── links.form_einheit.php │ │ ├── links.zeiterfassung.php │ │ ├── links.benutzer.php │ │ ├── links.personal.php │ │ ├── links.form_haus.php │ │ ├── links.details.php │ │ ├── links.urlaub.php │ │ ├── links.form_objekte.php │ │ ├── links.kasse.php │ │ ├── links.todo.php │ │ └── links.mietkonten_blatt_uebersicht.php │ └── case │ │ ├── case.uebersicht.php │ │ ├── case.haus.php │ │ ├── case.sepa.php │ │ ├── case.weg.php │ │ ├── case.bk.php │ │ ├── case.form_haus.php │ │ ├── case.objekte.php │ │ ├── case.kasse.php │ │ ├── case.lager.php │ │ ├── case.listen.php │ │ ├── case.partner.php │ │ ├── case.tickets.php │ │ ├── case.todo.php │ │ ├── case.urlaub.php │ │ ├── case.katalog.php │ │ ├── case.person.php │ │ ├── case.benutzer.php │ │ ├── case.miete_buchen.php │ │ ├── case.personal.php │ │ ├── case.statistik.php │ │ ├── case.leerstand.php │ │ ├── case.rechnungen.php │ │ ├── case.geldkonten.php │ │ ├── case.mietspiegel.php │ │ ├── case.mietkonten_blatt.php │ │ ├── case.mietvertrag.php │ │ ├── case.kontenrahmen.php │ │ ├── case.mietanpassung.php │ │ ├── case.zeiterfassung.php │ │ ├── case.form_objekte.php │ │ ├── case.admin_panel.php │ │ ├── case.miete_definieren.php │ │ ├── case.buchen.php │ │ ├── case.details.php │ │ ├── case.dbbackup.php │ │ ├── case.form_einheit.php │ │ ├── case.einheit.php │ │ └── case.kautionen.php ├── css │ ├── berlussimo_top_logo.png │ ├── mobile.css │ ├── rss.css │ └── print_buchungsjournal.css ├── includes │ └── logos │ │ ├── Slogo_78_31.jpg │ │ ├── logo_hv_sw.jpg │ │ └── hv_logo198_80.jpg ├── INSTALL │ └── DB-Version-0.4.0 │ │ ├── berlussimo_db_0.4.1.sql │ │ ├── berlussimo_db_0.4.4.sql │ │ ├── berlussimo_db_0.4.2.sql │ │ └── berlussimo_db_0.4.3.sql ├── cron.php ├── classes │ └── class_details.php └── wartungsplaner │ └── form.css ├── .gitattributes ├── config ├── auth-ip.php ├── phpsettings.php └── phonelocator.php ├── install ├── DB-Version-0.4.0 │ ├── berlussimo_db_0.4.1.sql │ ├── berlussimo_db_0.4.2.sql │ └── berlussimo_db_0.4.3.sql └── config │ └── systemd │ └── laravel-queue.service ├── tests ├── TestCase.php └── CreatesApplication.php ├── .gitignore ├── routes ├── console.php └── channels.php ├── README.md ├── server.php └── .env.example /public/favicon.ico: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /database/.gitignore: -------------------------------------------------------------------------------- 1 | *.sqlite 2 | -------------------------------------------------------------------------------- /resources/parser/.gitignore: -------------------------------------------------------------------------------- 1 | *.out -------------------------------------------------------------------------------- /public/.user.ini: -------------------------------------------------------------------------------- 1 | max_input_vars = 10000 -------------------------------------------------------------------------------- /app/Services/Parser/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore -------------------------------------------------------------------------------- /bootstrap/cache/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/app/public/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore -------------------------------------------------------------------------------- /storage/debugbar/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore -------------------------------------------------------------------------------- /storage/logs/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /public/robots.txt: -------------------------------------------------------------------------------- 1 | User-agent: * 2 | Disallow: 3 | -------------------------------------------------------------------------------- /storage/app/backups/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/app/fotos/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/framework/testing/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore -------------------------------------------------------------------------------- /storage/app/logos/Kasse/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/app/logos/Lager/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/app/logos/Partner/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/app/serienbriefe/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/framework/cache/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/framework/views/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/app/kontenberichte/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/app/objektberichte/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/framework/sessions/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /legacy/graph/public.inc.php: -------------------------------------------------------------------------------- 1 | Personen 2 |
3 |
4 | -------------------------------------------------------------------------------- /config/auth-ip.php: -------------------------------------------------------------------------------- 1 | 5 | @endsection 6 | -------------------------------------------------------------------------------- /install/DB-Version-0.4.0/berlussimo_db_0.4.1.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE `GELD_KONTO_BUCHUNGEN` 2 | ADD INDEX `GELDKONTO_BUCHUNGEN_ID` (`GELD_KONTO_BUCHUNGEN_ID` ASC); -------------------------------------------------------------------------------- /storage/framework/.gitignore: -------------------------------------------------------------------------------- 1 | config.php 2 | routes.php 3 | schedule-* 4 | compiled.php 5 | services.json 6 | events.scanned.php 7 | routes.scanned.php 8 | down -------------------------------------------------------------------------------- /app/Messages/InfoMessage.php: -------------------------------------------------------------------------------- 1 | getEmailForPasswordReset()) }}"> {{ $link }} 2 | -------------------------------------------------------------------------------- /resources/views/shared/menus/sub.blade.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /legacy/cron.php: -------------------------------------------------------------------------------- 1 | 7 | -------------------------------------------------------------------------------- /resources/assets/js/router.ts: -------------------------------------------------------------------------------- 1 | import VueRouter from "vue-router"; 2 | import routes from "./routes"; 3 | 4 | const router = new VueRouter({ 5 | mode: 'history', 6 | routes 7 | }); 8 | 9 | export default router; -------------------------------------------------------------------------------- /storage/app/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !public/ 3 | !objektberichte/ 4 | !kontenberichte/ 5 | !serienbriefe/ 6 | !backups/ 7 | !fotos/ 8 | !logos/ 9 | !logos/Kasse 10 | !logos/Lager 11 | !logos/Partner 12 | !.gitignore 13 | -------------------------------------------------------------------------------- /resources/assets/js/libraries/numbro.ts: -------------------------------------------------------------------------------- 1 | import Numbro from 'numbro'; 2 | import de from 'numbro/dist/languages/de-DE.min.js' 3 | 4 | 5 | Numbro.culture('de-DE', de); 6 | Numbro.culture('de-DE'); 7 | 8 | export default Numbro; -------------------------------------------------------------------------------- /app/Models/Contracts/Active.php: -------------------------------------------------------------------------------- 1 | 2 | @include('shared.entities.jobtitel', ['entity' => $entity->title]) 3 | bei @include('shared.entities.partner', ['entity' => $entity->employer]) 4 | -------------------------------------------------------------------------------- /resources/assets/js/filters/substituteNewlineWithBr.ts: -------------------------------------------------------------------------------- 1 | export function substituteNewlineWithBr(value): string { 2 | value = value.replace(/\r\n/g, '
'); 3 | value = value.replace(/\r/g, '
'); 4 | return value.replace(/\n/g, '
'); 5 | } -------------------------------------------------------------------------------- /resources/assets/js/store/modules/person/store.ts: -------------------------------------------------------------------------------- 1 | import showStore from "./show"; 2 | 3 | export default { 4 | namespaced: true, 5 | modules: { 6 | show: showStore, 7 | merge: { 8 | namespaced: true 9 | } 10 | } 11 | } -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /.project 2 | /.settings 3 | /.buildpath 4 | /.idea 5 | /vendor 6 | /legacy/classes/config.inc.php 7 | /node_modules 8 | Homestead.yaml 9 | Homestead.json 10 | /.env 11 | /_ide_helper_models.php 12 | /.phpstorm.meta.php 13 | /_ide_helper.php 14 | /storage/*.key 15 | /storage/*.csv 16 | -------------------------------------------------------------------------------- /config/phonelocator.php: -------------------------------------------------------------------------------- 1 | env('PHONELOCATOR_URL', ''), 5 | 'map' => [ 6 | env('PHONELOCATOR_CLIENT_IP', '127.0.0.1') => [ 7 | 'ip' => env('PHONELOCATOR_PHONE_IP', ''), 8 | 'url' => env('PHONELOCATOR_URL', '') 9 | ] 10 | ] 11 | ]; -------------------------------------------------------------------------------- /resources/assets/js/store/shared/legacy.ts: -------------------------------------------------------------------------------- 1 | export default { 2 | namespaced: true, 3 | state() { 4 | return { 5 | isLegacy: false 6 | } 7 | }, 8 | mutations: { 9 | updateIsLegacy(state, isLegacy) { 10 | state.isLegacy = isLegacy; 11 | } 12 | } 13 | } -------------------------------------------------------------------------------- /resources/assets/js/store/shared/workplace.ts: -------------------------------------------------------------------------------- 1 | export default { 2 | namespaced: true, 3 | state() { 4 | return { 5 | hasPhone: false 6 | } 7 | }, 8 | mutations: { 9 | updateHasPhone(state, hasPhone) { 10 | state.hasPhone = hasPhone; 11 | } 12 | } 13 | } -------------------------------------------------------------------------------- /legacy/classes/class_details.php: -------------------------------------------------------------------------------- 1 | has('daten')) { 4 | $daten = request()->input('daten'); 5 | switch ($daten) { 6 | 7 | case "uebersicht" : 8 | echo "
"; 9 | include(base_path('legacy/options/modules/uebersicht.php')); 10 | echo "
"; 11 | break; 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /database/seeds/DatabaseSeeder.php: -------------------------------------------------------------------------------- 1 | call(UsersTableSeeder::class); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /resources/views/shared/tables/paginator.blade.php: -------------------------------------------------------------------------------- 1 | @if($entities instanceof \Illuminate\Pagination\AbstractPaginator) 2 | @foreach($parameters as $parameter) 3 | @if(request()->has($parameter)) 4 | @php($paginator->appends([$parameter => request()->input($parameter)])) 5 | @endif 6 | @endforeach 7 | {!! $paginator->render() !!} 8 | @endif -------------------------------------------------------------------------------- /legacy/options/case/case.haus.php: -------------------------------------------------------------------------------- 1 | has('daten')) { 4 | switch (request()->input('daten')) { 5 | 6 | case "haus_raus" : 7 | include(base_path('legacy/options/links/links.form_haus.php')); 8 | echo "
"; 9 | include(base_path('legacy/options/modules/haus.php')); 10 | echo "
"; 11 | break; 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /legacy/options/case/case.sepa.php: -------------------------------------------------------------------------------- 1 | has('daten')) { 4 | $daten = request()->input('daten'); 5 | switch ($daten) { 6 | 7 | case "sepa" : 8 | include(base_path('legacy/options/links/links.sepa.php')); 9 | echo "
"; 10 | include(base_path('legacy/options/modules/sepa.php')); 11 | echo "
"; 12 | break; 13 | } 14 | } -------------------------------------------------------------------------------- /legacy/options/case/case.weg.php: -------------------------------------------------------------------------------- 1 | has('daten')) { 4 | $daten = request()->input('daten'); 5 | switch ($daten) { 6 | 7 | case "weg" : 8 | include(base_path('legacy/options/links/links.weg.php')); 9 | echo "
"; 10 | include(base_path('legacy/options/modules/weg.php')); 11 | echo "
"; 12 | break; 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /app/Http/Requests/Api/v1/PBX/CallRequest.php: -------------------------------------------------------------------------------- 1 | has('daten')) { 4 | $daten = request()->input('daten'); 5 | switch ($daten) { 6 | 7 | case "bk" : 8 | include(base_path('legacy/options/links/links.bk.php')); 9 | echo "
"; 10 | include(base_path('legacy/options/modules/bk.php')); 11 | echo "
"; 12 | break; 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /legacy/options/case/case.form_haus.php: -------------------------------------------------------------------------------- 1 | has('formular')) { 4 | switch (request()->input('formular')) { 5 | 6 | case "haus" : 7 | include(base_path('legacy/options/links/links.form_haus.php')); 8 | echo "
"; 9 | include(base_path('legacy/options/formulare/form_haus.php')); 10 | echo "
"; 11 | break; 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /legacy/options/case/case.objekte.php: -------------------------------------------------------------------------------- 1 | has('daten')) { 4 | $daten = request()->input('daten'); 5 | switch ($daten) { 6 | 7 | case "objekte_raus" : 8 | include(base_path('legacy/options/links/links.form_objekte.php')); 9 | echo "
"; 10 | include(base_path('legacy/options/modules/objekte.php')); 11 | break; 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /resources/assets/stylus/main.styl: -------------------------------------------------------------------------------- 1 | @import '../../../node_modules/vuetify/src/stylus/settings/_colors' 2 | 3 | $theme := { 4 | primary: #28b8b4 5 | accent: #28b8b4 6 | secondary: #424242 7 | info: $blue.lighten-1 8 | warning: $amber.darken-2 9 | error: $red.base 10 | success: $green.lighten-2 11 | } 12 | 13 | @import '../../../node_modules/vuetify/src/stylus/main.styl' -------------------------------------------------------------------------------- /app/Http/Requests/Api/v1/PBX/LookupRequest.php: -------------------------------------------------------------------------------- 1 | has('daten' )) { 4 | $daten = request()->input('daten'); 5 | switch ($daten) { 6 | 7 | case "kasse" : 8 | include(base_path('legacy/options/links/links.kasse.php')); 9 | echo "
"; 10 | include(base_path('legacy/options/modules/kasse.php')); 11 | echo "
"; 12 | break; 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /legacy/options/case/case.lager.php: -------------------------------------------------------------------------------- 1 | has('daten')) { 4 | $daten = request()->input('daten'); 5 | switch ($daten) { 6 | 7 | case "lager" : 8 | include(base_path('legacy/options/links/links.lager.php')); 9 | echo "
"; 10 | include(base_path('legacy/options/modules/lager.php')); 11 | echo ""; 12 | break; 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /legacy/options/case/case.listen.php: -------------------------------------------------------------------------------- 1 | has('daten')) { 4 | $daten = request()->input('daten'); 5 | switch ($daten) { 6 | 7 | case "listen" : 8 | include(base_path('legacy/options/links/links.listen.php')); 9 | echo "
"; 10 | include(base_path('legacy/options/modules/listen.php')); 11 | echo "
"; 12 | break; 13 | } 14 | } -------------------------------------------------------------------------------- /legacy/options/case/case.partner.php: -------------------------------------------------------------------------------- 1 | has('daten')) { 4 | $daten = request()->input('daten'); 5 | switch ($daten) { 6 | case "partner" : 7 | include(base_path('legacy/options/links/links.partner.php')); 8 | echo "
"; 9 | include(base_path('legacy/options/modules/partner.php')); 10 | echo "
"; 11 | break; 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /legacy/options/case/case.tickets.php: -------------------------------------------------------------------------------- 1 | has('daten')) { 4 | $daten = request()->input('daten'); 5 | switch ($daten) { 6 | 7 | case "tickets" : 8 | include(base_path('legacy/options/links/links.tickets.php')); 9 | echo "
"; 10 | include(base_path('legacy/options/modules/tickets.php')); 11 | echo "
"; 12 | break; 13 | } 14 | } -------------------------------------------------------------------------------- /legacy/options/case/case.todo.php: -------------------------------------------------------------------------------- 1 | input('daten')) { 4 | $daten = request()->input('daten'); 5 | switch ($daten) { 6 | 7 | case "todo" : 8 | include(base_path('legacy/options/links/links.todo.php')); 9 | echo "
"; 10 | include(base_path('legacy/options/modules/todo.php')); 11 | echo "
"; 12 | break; 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /legacy/options/case/case.urlaub.php: -------------------------------------------------------------------------------- 1 | has('daten')) { 4 | $daten = request()->input('daten'); 5 | switch ($daten) { 6 | 7 | case "urlaub" : 8 | include(base_path('legacy/options/links/links.urlaub.php')); 9 | echo "
"; 10 | include(base_path('legacy/options/modules/urlaub.php')); 11 | echo "
"; 12 | break; 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /legacy/options/case/case.katalog.php: -------------------------------------------------------------------------------- 1 | has('daten')) { 4 | $daten = request()->input('daten'); 5 | switch ($daten) { 6 | 7 | case "katalog" : 8 | include(base_path('legacy/options/links/links.katalog.php')); 9 | echo "
"; 10 | include(base_path('legacy/options/modules/katalog.php')); 11 | echo "
"; 12 | break; 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /legacy/options/case/case.person.php: -------------------------------------------------------------------------------- 1 | has('daten')) { 4 | $daten = request()->input('daten'); 5 | switch ($daten) { 6 | 7 | case "person" : 8 | include(base_path('legacy/options/links/links.person.php')); 9 | echo "
"; 10 | include(base_path('legacy/options/modules/person.php')); 11 | echo "
"; 12 | break; 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /resources/assets/js/store/shared/refresh.ts: -------------------------------------------------------------------------------- 1 | export default { 2 | namespaced: true, 3 | state() { 4 | return { 5 | dirty: false 6 | } 7 | }, 8 | mutations: { 9 | requestRefresh(state) { 10 | state.dirty = true; 11 | }, 12 | refreshFinished(state) { 13 | state.dirty = false; 14 | } 15 | } 16 | } -------------------------------------------------------------------------------- /legacy/options/case/case.benutzer.php: -------------------------------------------------------------------------------- 1 | has('daten')) { 4 | $daten = request()->input('daten'); 5 | switch ($daten) { 6 | 7 | case "benutzer" : 8 | include(base_path('legacy/options/links/links.benutzer.php')); 9 | echo "
"; 10 | include(base_path('legacy/options/modules/benutzer.php')); 11 | echo "
"; 12 | break; 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /legacy/options/case/case.miete_buchen.php: -------------------------------------------------------------------------------- 1 | has('daten')) { 4 | $daten = request()->input('daten'); 5 | switch ($daten) { 6 | 7 | case "miete_buchen" : 8 | include(base_path('legacy/options/links/links.mietkonten_blatt.php')); 9 | echo "
"; 10 | include(base_path('legacy/options/modules/buchungsmaske.php')); 11 | break; 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /legacy/options/case/case.personal.php: -------------------------------------------------------------------------------- 1 | has('daten')) { 4 | $daten = request()->input('daten'); 5 | switch ($daten) { 6 | 7 | case "personal" : 8 | include(base_path('legacy/options/links/links.personal.php')); 9 | echo "
"; 10 | include(base_path('legacy/options/modules/personal.php')); 11 | echo "
"; 12 | break; 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /legacy/options/case/case.statistik.php: -------------------------------------------------------------------------------- 1 | has('daten')) { 4 | $daten = request()->input('daten'); 5 | switch ($daten) { 6 | 7 | case "statistik" : 8 | include(base_path('legacy/options/links/links.statistik.php')); 9 | echo "
"; 10 | include(base_path('legacy/options/modules/statistik.php')); 11 | echo "
"; 12 | break; 13 | } 14 | } -------------------------------------------------------------------------------- /resources/assets/js/imports.ts: -------------------------------------------------------------------------------- 1 | import Vue from "vue"; 2 | import VueRouter from "vue-router"; 3 | import Vuex from "vuex"; 4 | import Vuetify from "vuetify"; 5 | 6 | Vue.use(VueRouter); 7 | Vue.use(Vuex); 8 | Vue.use(Vuetify, { 9 | theme: { 10 | primary: '#28b8b4', 11 | accent: '#28b8b4', 12 | secondary: '#424242' 13 | } 14 | }); 15 | 16 | export default Vue; 17 | -------------------------------------------------------------------------------- /resources/assets/js/server/resources/mixins.ts: -------------------------------------------------------------------------------- 1 | export default function applyMixins(derivedCtor: any, baseCtors: any[]) { 2 | baseCtors.forEach(baseCtor => { 3 | Object.getOwnPropertyNames(baseCtor.prototype).forEach(name => { 4 | if (name !== 'constructor') { 5 | derivedCtor.prototype[name] = baseCtor.prototype[name]; 6 | } 7 | }); 8 | }); 9 | } -------------------------------------------------------------------------------- /resources/views/shared/entities/lager.blade.php: -------------------------------------------------------------------------------- 1 | 2 | @php 3 | if(!isset($icons)) 4 | { 5 | $icons = true; 6 | }; 7 | @endphp 8 | @if($icons) 9 | 10 | @endif 11 | {{ $entity->LAGER_NAME }} 12 | -------------------------------------------------------------------------------- /app/Http/Requests/AuthenticatedRequest.php: -------------------------------------------------------------------------------- 1 | user() ? true : false; 13 | } 14 | 15 | public function rules() 16 | { 17 | return []; 18 | } 19 | } -------------------------------------------------------------------------------- /legacy/options/case/case.leerstand.php: -------------------------------------------------------------------------------- 1 | has('daten')) { 4 | $daten = request()->input('daten'); 5 | switch ($daten) { 6 | 7 | case "leerstand" : 8 | include(base_path('legacy/options/links/links.leerstand.php')); 9 | echo "
"; 10 | include(base_path('legacy/options/modules/leerstand.php')); 11 | echo "
"; 12 | break; 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /legacy/options/case/case.rechnungen.php: -------------------------------------------------------------------------------- 1 | has('daten')) { 4 | $daten = request()->input('daten'); 5 | switch ($daten) { 6 | 7 | case "rechnungen" : 8 | include(base_path('legacy/options/links/links.rechnungen.php')); 9 | echo "
"; 10 | include(base_path('legacy/options/modules/rechnungen.php')); 11 | echo "
"; 12 | break; 13 | } 14 | } -------------------------------------------------------------------------------- /resources/views/shared/entities/baustelle_extern.blade.php: -------------------------------------------------------------------------------- 1 | 2 | @php 3 | if(!isset($icons)) 4 | { 5 | $icons = true; 6 | }; 7 | @endphp 8 | @if($icons) 9 | 10 | @endif 11 | {{ $entity->BEZ }} 12 | -------------------------------------------------------------------------------- /legacy/options/case/case.geldkonten.php: -------------------------------------------------------------------------------- 1 | has('daten')) { 4 | $daten = request()->input('daten'); 5 | switch ($daten) { 6 | 7 | case "geldkonten" : 8 | include(base_path('legacy/options/links/links.geldkonten.php')); 9 | echo "
"; 10 | include(base_path('legacy/options/modules/geldkonten.php')); 11 | echo "
"; 12 | break; 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /legacy/options/case/case.mietspiegel.php: -------------------------------------------------------------------------------- 1 | has('daten')) { 4 | $daten = request()->input('daten'); 5 | switch ($daten) { 6 | 7 | case "mietspiegel" : 8 | include(base_path('legacy/options/links/links.mietspiegel.php')); 9 | echo "
"; 10 | include(base_path('legacy/options/modules/mietspiegel.php')); 11 | echo "
"; 12 | break; 13 | } 14 | } -------------------------------------------------------------------------------- /app/Factories/ResponseFactory.php: -------------------------------------------------------------------------------- 1 | input('daten')) { 4 | $daten = request()->input('daten'); 5 | switch ($daten) { 6 | 7 | case "mietkonten_blatt" : 8 | include(base_path('legacy/options/links/links.mietkonten_blatt.php')); 9 | echo "
"; 10 | include(base_path('legacy/options/modules/mietkonten_blatt.php')); 11 | break; 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /legacy/options/case/case.mietvertrag.php: -------------------------------------------------------------------------------- 1 | has('daten')) { 4 | $daten = request()->input('daten'); 5 | switch ($daten) { 6 | 7 | case "mietvertrag_raus" : 8 | include(base_path('legacy/options/links/links.mietvertrag.php')); 9 | echo "
"; 10 | include(base_path('legacy/options/modules/mietvertrag.php')); 11 | echo "
"; 12 | break; 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /resources/views/shared/entities/login.blade.php: -------------------------------------------------------------------------------- 1 | 2 | @php 3 | if(!isset($icons)) 4 | { 5 | $icons = true; 6 | }; 7 | @endphp 8 | @if($icons) 9 | 10 | @endif 11 | Aktiv: {{$entity->trashed() ? 'Nein' : 'Ja'}} 12 | -------------------------------------------------------------------------------- /resources/views/shared/entities/wirtschaftseinheit.blade.php: -------------------------------------------------------------------------------- 1 | 2 | @php 3 | if(!isset($icons)) 4 | { 5 | $icons = true; 6 | }; 7 | @endphp 8 | @if($icons) 9 | 10 | @endif 11 | {{ $entity->W_NAME }} 12 | -------------------------------------------------------------------------------- /resources/views/shared/tables/entities-with-paginator.blade.php: -------------------------------------------------------------------------------- 1 |
2 | @include('shared.tables.paginator', ['paginator' => $entities]) 3 |
4 |
5 |
6 | @include('shared.tables.entities') 7 |
8 |
9 |
10 | @include('shared.tables.paginator', ['paginator' => $entities]) 11 |
-------------------------------------------------------------------------------- /app/Libraries/Role.php: -------------------------------------------------------------------------------- 1 | notifiable->notify(new NotificationsUpdated()); 14 | } 15 | } -------------------------------------------------------------------------------- /legacy/options/case/case.kontenrahmen.php: -------------------------------------------------------------------------------- 1 | has('daten')) { 4 | $daten = request()->input('daten'); 5 | switch ($daten) { 6 | 7 | case "kontenrahmen" : 8 | include(base_path('legacy/options/links/links.kontenrahmen.php')); 9 | echo "
"; 10 | include(base_path('legacy/options/modules/kontenrahmen.php')); 11 | echo "
"; 12 | break; 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /legacy/options/case/case.mietanpassung.php: -------------------------------------------------------------------------------- 1 | has('daten')) { 4 | $daten = request()->input('daten'); 5 | switch ($daten) { 6 | 7 | case "mietanpassung" : 8 | include(base_path('legacy/options/links/links.mietkonten_blatt.php')); 9 | echo "
"; 10 | include(base_path('legacy/options/modules/mietanpassung.php')); 11 | echo "
"; 12 | break; 13 | } 14 | } -------------------------------------------------------------------------------- /legacy/options/case/case.zeiterfassung.php: -------------------------------------------------------------------------------- 1 | has('daten')) { 4 | $daten = request()->input('daten'); 5 | switch ($daten) { 6 | 7 | case "zeiterfassung" : 8 | include(base_path('legacy/options/links/links.zeiterfassung.php')); 9 | echo "
"; 10 | include(base_path('legacy/options/modules/zeiterfassung.php')); 11 | echo "
"; 12 | break; 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /app/Http/Middleware/VerifyCsrfToken.php: -------------------------------------------------------------------------------- 1 | defaultOrder)) { 10 | foreach($this->defaultOrder as $field => $order) { 11 | $query->orderByRaw($field . " " . $order); 12 | } 13 | } 14 | return $query; 15 | } 16 | } -------------------------------------------------------------------------------- /legacy/options/case/case.form_objekte.php: -------------------------------------------------------------------------------- 1 | has('formular')) { 4 | $formular = request()->input('formular'); 5 | switch ($formular) { 6 | 7 | case "objekte" : 8 | include(base_path('legacy/options/links/links.form_objekte.php')); 9 | echo "
"; 10 | include(base_path('legacy/options/formulare/form_objekte.php')); 11 | echo "
"; 12 | break; 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /legacy/options/case/case.admin_panel.php: -------------------------------------------------------------------------------- 1 | has('optionen')) { 4 | $daten = request()->input('optionen'); 5 | switch ($daten) { 6 | 7 | case "admin_panel" : 8 | include(base_path('legacy/options/links/links.admin_menu.php')); 9 | echo "
"; 10 | include(base_path('legacy/options/modules/admin_panel.php')); 11 | echo "
"; 12 | break; 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /legacy/options/case/case.miete_definieren.php: -------------------------------------------------------------------------------- 1 | has('daten')) { 4 | $daten = request()->input('daten'); 5 | switch ($daten) { 6 | 7 | case "miete_definieren" : 8 | include(base_path('legacy/options/links/links.mietkonten_blatt.php')); 9 | echo "
"; 10 | include(base_path('legacy/options/modules/miete_definieren.php')); 11 | echo "
"; 12 | break; 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /resources/assets/js/components/modules/dashboard/DetailViewBreadcrumbs.vue: -------------------------------------------------------------------------------- 1 | 6 | 7 | -------------------------------------------------------------------------------- /legacy/options/case/case.buchen.php: -------------------------------------------------------------------------------- 1 | has('daten')) { 4 | $daten = request()->input("daten"); 5 | switch ($daten) { 6 | 7 | case "buchen" : 8 | include(base_path('legacy/options/links/links.buchen.php')); 9 | echo "
"; 10 | include(base_path('legacy/options/modules/buchen.php')); 11 | echo "
"; 12 | break; 13 | } 14 | } -------------------------------------------------------------------------------- /app/Http/Controllers/Legacy/ListenController.php: -------------------------------------------------------------------------------- 1 | render(); 16 | } 17 | } -------------------------------------------------------------------------------- /legacy/options/case/case.details.php: -------------------------------------------------------------------------------- 1 | has('daten')) { 4 | $daten = request()->input('daten'); 5 | switch ($daten) { 6 | 7 | case "details" : 8 | include(base_path('legacy/options/links/links.details.php')); 9 | echo "
"; 10 | include(base_path('legacy/options/modules/details.php')); 11 | echo "
"; 12 | break; 13 | } 14 | } -------------------------------------------------------------------------------- /legacy/options/case/case.dbbackup.php: -------------------------------------------------------------------------------- 1 | has('daten')) { 4 | $daten = request()->input('daten'); 5 | switch ($daten) { 6 | 7 | case "dbbackup" : 8 | include(base_path('legacy/options/links/links.dbbackup.php')); 9 | echo "
"; 10 | include(base_path('legacy/options/modules/dbbackup.php')); 11 | echo "
"; 12 | break; 13 | } 14 | } -------------------------------------------------------------------------------- /legacy/options/case/case.form_einheit.php: -------------------------------------------------------------------------------- 1 | has('formular')) { 4 | switch (request()->input('formular')) { 5 | 6 | case "einheit" : 7 | include(base_path('legacy/options/links/links.form_einheit.php')); 8 | echo "
"; 9 | include(base_path('legacy/options/formulare/form_einheit.php')); 10 | echo "
"; 11 | break; 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /app/Http/Requests/Legacy/AdminRequest.php: -------------------------------------------------------------------------------- 1 | can(Permission::PERMISSION_MODUL_DETAIL); 14 | } 15 | 16 | public function rules() { 17 | return []; 18 | } 19 | } -------------------------------------------------------------------------------- /app/Http/Controllers/Legacy/BkController.php: -------------------------------------------------------------------------------- 1 | render(); 16 | } 17 | } -------------------------------------------------------------------------------- /legacy/options/case/case.einheit.php: -------------------------------------------------------------------------------- 1 | has('daten')) { 4 | $daten = request()->input('daten'); 5 | switch ($daten) { 6 | 7 | case "einheit_raus" : 8 | include(base_path('legacy/options/links/links.form_einheit.php')); 9 | echo "
"; 10 | include(base_path('legacy/options/modules/einheit.php')); 11 | echo "
"; 12 | break; 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /app/Http/Controllers/Legacy/UebersichtController.php: -------------------------------------------------------------------------------- 1 | render(); 16 | } 17 | } -------------------------------------------------------------------------------- /app/Http/Requests/Legacy/WEGRequest.php: -------------------------------------------------------------------------------- 1 | can(Permission::PERMISSION_MODUL_WEG); 15 | } 16 | 17 | public function rules() 18 | { 19 | return []; 20 | } 21 | } -------------------------------------------------------------------------------- /app/Http/Controllers/Legacy/SepaController.php: -------------------------------------------------------------------------------- 1 | render(); 16 | } 17 | } -------------------------------------------------------------------------------- /app/Http/Requests/Legacy/LagerRequest.php: -------------------------------------------------------------------------------- 1 | can(Permission::PERMISSION_MODUL_LAGER); 15 | } 16 | 17 | public function rules() 18 | { 19 | return []; 20 | } 21 | } -------------------------------------------------------------------------------- /app/Http/Requests/Legacy/SepaRequest.php: -------------------------------------------------------------------------------- 1 | can(Permission::PERMISSION_MODUL_SEPA); 15 | } 16 | 17 | public function rules() 18 | { 19 | return []; 20 | } 21 | } -------------------------------------------------------------------------------- /app/Http/Requests/Modules/Persons/UpdateRequest.php: -------------------------------------------------------------------------------- 1 | 'required|max:255', 14 | 'first_name' => 'nullable|max:255', 15 | 'birthday' => 'nullable|date', 16 | ]; 17 | } 18 | } -------------------------------------------------------------------------------- /resources/assets/js/filters/sformat.ts: -------------------------------------------------------------------------------- 1 | const LENGTH = 40; 2 | 3 | export function sformat(value, format): string { 4 | if (typeof value !== 'string') 5 | value = String(value); 6 | if (!format) { 7 | format = 'truncate'; 8 | } 9 | switch (format) { 10 | case 'truncate': 11 | if (value.length > LENGTH) { 12 | return value.slice(0, LENGTH) + '...' 13 | } 14 | } 15 | return value; 16 | } -------------------------------------------------------------------------------- /app/Http/Controllers/Legacy/LagerController.php: -------------------------------------------------------------------------------- 1 | render(); 16 | } 17 | } -------------------------------------------------------------------------------- /app/Http/Controllers/Legacy/MietkontenblattController.php: -------------------------------------------------------------------------------- 1 | render(); 14 | } 15 | } -------------------------------------------------------------------------------- /app/Http/Requests/Legacy/BkRequest.php: -------------------------------------------------------------------------------- 1 | can(Permission::PERMISSION_MODUL_BETRIEBSKOSTEN); 15 | } 16 | 17 | public function rules() 18 | { 19 | return []; 20 | } 21 | } -------------------------------------------------------------------------------- /app/Http/Requests/Legacy/BuchenRequest.php: -------------------------------------------------------------------------------- 1 | can(Permission::PERMISSION_MODUL_BUCHEN); 15 | } 16 | 17 | public function rules() 18 | { 19 | return []; 20 | } 21 | } -------------------------------------------------------------------------------- /app/Http/Requests/Legacy/DetailsRequest.php: -------------------------------------------------------------------------------- 1 | can(Permission::PERMISSION_MODUL_DETAIL); 15 | } 16 | 17 | public function rules() 18 | { 19 | return []; 20 | } 21 | } -------------------------------------------------------------------------------- /app/Http/Requests/Legacy/HaeuserRequest.php: -------------------------------------------------------------------------------- 1 | can(Permission::PERMISSION_MODUL_HAUS); 15 | } 16 | 17 | public function rules() 18 | { 19 | return []; 20 | } 21 | } -------------------------------------------------------------------------------- /app/Http/Requests/Legacy/KassenRequest.php: -------------------------------------------------------------------------------- 1 | can(Permission::PERMISSION_MODUL_KASSE); 15 | } 16 | 17 | public function rules() 18 | { 19 | return []; 20 | } 21 | } -------------------------------------------------------------------------------- /app/Http/Requests/Legacy/ObjekteRequest.php: -------------------------------------------------------------------------------- 1 | can(Permission::PERMISSION_MODUL_OBJEKT); 15 | } 16 | 17 | public function rules() 18 | { 19 | return []; 20 | } 21 | } -------------------------------------------------------------------------------- /app/Http/Requests/Legacy/ToDoRequest.php: -------------------------------------------------------------------------------- 1 | can(Permission::PERMISSION_MODUL_AUFTRAEGE); 15 | } 16 | 17 | public function rules() 18 | { 19 | return []; 20 | } 21 | } -------------------------------------------------------------------------------- /app/Http/Requests/Legacy/UrlaubRequest.php: -------------------------------------------------------------------------------- 1 | can(Permission::PERMISSION_MODUL_URLAUB); 15 | } 16 | 17 | public function rules() 18 | { 19 | return []; 20 | } 21 | } -------------------------------------------------------------------------------- /legacy/options/case/case.kautionen.php: -------------------------------------------------------------------------------- 1 | has('daten')) { 4 | $daten = request()->input('daten'); 5 | switch ($daten) { 6 | 7 | case "kautionen" : 8 | include(base_path('legacy/options/links/links.kautionen.php')); 9 | echo "
"; 10 | include(base_path('legacy/options/modules/kautionen.php')); 11 | echo "
"; 12 | break; 13 | } 14 | } 15 | 16 | ?> 17 | -------------------------------------------------------------------------------- /app/Http/Controllers/Legacy/BuchenController.php: -------------------------------------------------------------------------------- 1 | render(); 16 | } 17 | } -------------------------------------------------------------------------------- /app/Http/Controllers/Legacy/KassenController.php: -------------------------------------------------------------------------------- 1 | render(); 16 | } 17 | } -------------------------------------------------------------------------------- /app/Http/Controllers/Legacy/UrlaubController.php: -------------------------------------------------------------------------------- 1 | render(); 16 | } 17 | } -------------------------------------------------------------------------------- /app/Http/Requests/Legacy/BenutzerRequest.php: -------------------------------------------------------------------------------- 1 | can(Permission::PERMISSION_MODUL_BENUTZER); 15 | } 16 | 17 | public function rules() 18 | { 19 | return []; 20 | } 21 | } -------------------------------------------------------------------------------- /app/Http/Requests/Legacy/EinheitenRequest.php: -------------------------------------------------------------------------------- 1 | can(Permission::PERMISSION_MODUL_EINHEIT); 15 | } 16 | 17 | public function rules() 18 | { 19 | return []; 20 | } 21 | } -------------------------------------------------------------------------------- /app/Http/Requests/Legacy/KatalogRequest.php: -------------------------------------------------------------------------------- 1 | can(Permission::PERMISSION_MODUL_KATALOG); 15 | } 16 | 17 | public function rules() 18 | { 19 | return []; 20 | } 21 | } -------------------------------------------------------------------------------- /app/Http/Requests/Legacy/KautionenRequest.php: -------------------------------------------------------------------------------- 1 | can(Permission::PERMISSION_MODUL_KAUTION); 15 | } 16 | 17 | public function rules() 18 | { 19 | return []; 20 | } 21 | } -------------------------------------------------------------------------------- /app/Http/Requests/Legacy/PartnerRequest.php: -------------------------------------------------------------------------------- 1 | can(Permission::PERMISSION_MODUL_PARTNER); 15 | } 16 | 17 | public function rules() 18 | { 19 | return []; 20 | } 21 | } -------------------------------------------------------------------------------- /app/Http/Requests/Legacy/PersonalRequest.php: -------------------------------------------------------------------------------- 1 | can(Permission::PERMISSION_MODUL_PERSONAL); 15 | } 16 | 17 | public function rules() 18 | { 19 | return []; 20 | } 21 | } -------------------------------------------------------------------------------- /app/Http/Requests/Legacy/PersonenRequest.php: -------------------------------------------------------------------------------- 1 | can(Permission::PERMISSION_MODUL_PERSON); 15 | } 16 | 17 | public function rules() 18 | { 19 | return []; 20 | } 21 | } -------------------------------------------------------------------------------- /resources/assets/js/store/shared/menu.ts: -------------------------------------------------------------------------------- 1 | export default { 2 | namespaced: true, 3 | state() { 4 | return { 5 | mainmenuOpen: false, 6 | submenuOpen: false 7 | } 8 | }, 9 | mutations: { 10 | updateMainmenuOpen(state, menuState) { 11 | state.mainmenuOpen = menuState; 12 | }, 13 | updateSubmenuOpen(state, menuState) { 14 | state.submenuOpen = menuState; 15 | } 16 | } 17 | } -------------------------------------------------------------------------------- /resources/views/shared/entities/jobtitel.blade.php: -------------------------------------------------------------------------------- 1 | 2 | @php 3 | if(!isset($icons)) 4 | { 5 | $icons = true; 6 | }; 7 | @endphp 8 | @if($icons) 9 | 10 | @endif 11 | @if(isset($entity)) 12 | {{ $entity->title }} 13 | @else 14 | Mitarbeiter 15 | @endif 16 | -------------------------------------------------------------------------------- /app/Http/Controllers/Legacy/AdminController.php: -------------------------------------------------------------------------------- 1 | render(); 16 | } 17 | } -------------------------------------------------------------------------------- /app/Http/Middleware/TrimStrings.php: -------------------------------------------------------------------------------- 1 | can(Permission::PERMISSION_MODUL_BANKKONTO); 15 | } 16 | 17 | public function rules() 18 | { 19 | return []; 20 | } 21 | } -------------------------------------------------------------------------------- /app/Http/Requests/Legacy/LeerstandRequest.php: -------------------------------------------------------------------------------- 1 | can(Permission::PERMISSION_MODUL_LEERSTAND); 15 | } 16 | 17 | public function rules() 18 | { 19 | return []; 20 | } 21 | } -------------------------------------------------------------------------------- /app/Http/Requests/Legacy/RechnungenRequest.php: -------------------------------------------------------------------------------- 1 | can(Permission::PERMISSION_MODUL_RECHNUNG); 15 | } 16 | 17 | public function rules() 18 | { 19 | return []; 20 | } 21 | } -------------------------------------------------------------------------------- /app/Http/Requests/Legacy/StatistikRequest.php: -------------------------------------------------------------------------------- 1 | can(Permission::PERMISSION_MODUL_STATISTIK); 15 | } 16 | 17 | public function rules() 18 | { 19 | return []; 20 | } 21 | } -------------------------------------------------------------------------------- /tests/CreatesApplication.php: -------------------------------------------------------------------------------- 1 | make(Kernel::class)->bootstrap(); 18 | return $app; 19 | } 20 | } -------------------------------------------------------------------------------- /app/Facades/ListViews.php: -------------------------------------------------------------------------------- 1 | render(); 16 | } 17 | } -------------------------------------------------------------------------------- /app/Http/Controllers/Legacy/KatalogController.php: -------------------------------------------------------------------------------- 1 | render(); 16 | } 17 | } -------------------------------------------------------------------------------- /app/Http/Requests/Legacy/MieteBuchenRequest.php: -------------------------------------------------------------------------------- 1 | can(Permission::PERMISSION_MODUL_MIETVERTRAG); 15 | } 16 | 17 | public function rules() 18 | { 19 | return []; 20 | } 21 | } -------------------------------------------------------------------------------- /app/Http/Requests/Legacy/MietspiegelRequest.php: -------------------------------------------------------------------------------- 1 | can(Permission::PERMISSION_MODUL_MIETVERTRAG); 15 | } 16 | 17 | public function rules() 18 | { 19 | return []; 20 | } 21 | } -------------------------------------------------------------------------------- /app/Http/Requests/Legacy/UebersichtRequest.php: -------------------------------------------------------------------------------- 1 | can(Permission::PERMISSION_MODUL_MIETVERTRAG); 15 | } 16 | 17 | public function rules() 18 | { 19 | return []; 20 | } 21 | } -------------------------------------------------------------------------------- /app/Http/Controllers/Legacy/BenutzerController.php: -------------------------------------------------------------------------------- 1 | render(); 16 | } 17 | } -------------------------------------------------------------------------------- /app/Http/Controllers/Legacy/PersonalController.php: -------------------------------------------------------------------------------- 1 | render(); 16 | } 17 | } -------------------------------------------------------------------------------- /app/Http/Requests/Legacy/KontenrahmenRequest.php: -------------------------------------------------------------------------------- 1 | can(Permission::PERMISSION_MODUL_KONTENRAHMEN); 15 | } 16 | 17 | public function rules() 18 | { 19 | return []; 20 | } 21 | } -------------------------------------------------------------------------------- /app/Http/Requests/Legacy/MietvertraegeRequest.php: -------------------------------------------------------------------------------- 1 | can(Permission::PERMISSION_MODUL_MIETVERTRAG); 15 | } 16 | 17 | public function rules() 18 | { 19 | return []; 20 | } 21 | } -------------------------------------------------------------------------------- /app/Http/Requests/Legacy/ZeiterfassungRequest.php: -------------------------------------------------------------------------------- 1 | can(Permission::PERMISSION_MODUL_ZEITERFASSUNG); 15 | } 16 | 17 | public function rules() 18 | { 19 | return []; 20 | } 21 | } -------------------------------------------------------------------------------- /legacy/options/links/links.form_einheit.php: -------------------------------------------------------------------------------- 1 |

Einheiten

2 |
3 | "; 5 | echo " 'einheit_kurz']) . "'>Alle"; 6 | echo "
"; 7 | echo "
"; 8 | echo " 'einheit_neu']) . "'>Neu"; 9 | echo "
"; 10 | ?> 11 |
-------------------------------------------------------------------------------- /app/Facades/Relations.php: -------------------------------------------------------------------------------- 1 | render(); 16 | } 17 | } -------------------------------------------------------------------------------- /app/Http/Controllers/Legacy/KautionenController.php: -------------------------------------------------------------------------------- 1 | render(); 16 | } 17 | } -------------------------------------------------------------------------------- /app/Http/Controllers/Legacy/LeerstandController.php: -------------------------------------------------------------------------------- 1 | render(); 16 | } 17 | } -------------------------------------------------------------------------------- /app/Http/Controllers/Legacy/StatistikController.php: -------------------------------------------------------------------------------- 1 | render(); 16 | } 17 | } -------------------------------------------------------------------------------- /app/Http/Requests/Legacy/MietanpassungenRequest.php: -------------------------------------------------------------------------------- 1 | can(Permission::PERMISSION_MODUL_MIETVERTRAG); 15 | } 16 | 17 | public function rules() 18 | { 19 | return []; 20 | } 21 | } -------------------------------------------------------------------------------- /app/Http/Requests/Legacy/MieteDefinierenRequest.php: -------------------------------------------------------------------------------- 1 | can(Permission::PERMISSION_MODUL_MIETVERTRAG); 15 | } 16 | 17 | public function rules() 18 | { 19 | return []; 20 | } 21 | } -------------------------------------------------------------------------------- /app/Http/Requests/Legacy/MietkontenblattRequest.php: -------------------------------------------------------------------------------- 1 | can(Permission::PERMISSION_MODUL_MIETVERTRAG); 15 | } 16 | 17 | public function rules() 18 | { 19 | return []; 20 | } 21 | } -------------------------------------------------------------------------------- /resources/assets/js/filters/dformat.ts: -------------------------------------------------------------------------------- 1 | import moment from 'moment'; 2 | 3 | export function dformat(value, format): string { 4 | if (typeof value !== 'string') 5 | value = String(value); 6 | if (!format) { 7 | format = 'date'; 8 | } 9 | switch (format) { 10 | case 'date': 11 | return moment(value).format('DD.MM.YYYY'); 12 | case 'datetime': 13 | return moment(value).format('DD.MM.YYYY HH:mm:ss'); 14 | } 15 | return value; 16 | } -------------------------------------------------------------------------------- /app/Http/Controllers/Controller.php: -------------------------------------------------------------------------------- 1 | render(); 16 | } 17 | } -------------------------------------------------------------------------------- /resources/views/shared/entities/details/detail.blade.php: -------------------------------------------------------------------------------- 1 |
2 | @if(!empty(trim($entity->DETAIL_INHALT))) 3 | 4 | @endif 5 | 6 | @if(!empty(trim($entity->DETAIL_INHALT))) 7 | {{trim($entity->DETAIL_INHALT)}} 8 | @endif 9 | @if(!empty(trim($entity->DETAIL_BEMERKUNG))) 10 | {{trim($entity->DETAIL_BEMERKUNG)}} 11 | @endif 12 | 13 |
-------------------------------------------------------------------------------- /resources/views/shared/entities/details/hinweis.blade.php: -------------------------------------------------------------------------------- 1 |
2 | @if(!empty(trim($entity->DETAIL_INHALT))) 3 | 4 | @endif 5 | 6 | @if(!empty(trim($entity->DETAIL_INHALT))) 7 | {{trim($entity->DETAIL_INHALT)}} 8 | @endif 9 | @if(!empty(trim($entity->DETAIL_BEMERKUNG))) 10 | {{ trim($entity->DETAIL_BEMERKUNG) }} 11 | @endif 12 | 13 |
-------------------------------------------------------------------------------- /app/Http/Controllers/Legacy/EinheitenFormController.php: -------------------------------------------------------------------------------- 1 | render(); 16 | } 17 | } -------------------------------------------------------------------------------- /app/Http/Controllers/Legacy/MietspiegelController.php: -------------------------------------------------------------------------------- 1 | render(); 16 | } 17 | } -------------------------------------------------------------------------------- /resources/views/shared/entities/details/adresse.blade.php: -------------------------------------------------------------------------------- 1 |
2 | @if(!empty(trim($entity->DETAIL_INHALT))) 3 | 4 | @endif 5 | 6 | @if(!empty(trim($entity->DETAIL_INHALT))) 7 | {!!trim($entity->detail_inhalt_with_br)!!} 8 | @endif 9 | @if(!empty(trim($entity->DETAIL_BEMERKUNG))) 10 |
{{trim($entity->DETAIL_BEMERKUNG)}} 11 | @endif 12 |
13 |
-------------------------------------------------------------------------------- /app/Http/Controllers/Api/v1/Modules/WorkplaceController.php: -------------------------------------------------------------------------------- 1 | json([ 15 | 'has_phone' => $phoneLocator->workplaceHasPhone() 16 | ]); 17 | } 18 | } -------------------------------------------------------------------------------- /app/Http/Controllers/Legacy/KontenrahmenController.php: -------------------------------------------------------------------------------- 1 | render(); 16 | } 17 | } -------------------------------------------------------------------------------- /app/Http/Controllers/Legacy/MieteBuchenController.php: -------------------------------------------------------------------------------- 1 | render(); 16 | } 17 | } -------------------------------------------------------------------------------- /legacy/options/links/links.zeiterfassung.php: -------------------------------------------------------------------------------- 1 |

Zeiterfassung

2 |
3 | "; 5 | echo " 'eigene_zettel']) . "'>Eigene Zettel"; 6 | echo "
"; 7 | echo "
"; 8 | echo " 'neuer_zettel']) . "'>Neuer Zettel"; 9 | echo "
"; 10 | ?> 11 |
12 | -------------------------------------------------------------------------------- /app/Http/Controllers/Broadcasting/NchanPresenceController.php: -------------------------------------------------------------------------------- 1 | render(); 16 | } 17 | } -------------------------------------------------------------------------------- /app/Http/Requests/Modules/Persons/MergeRequest.php: -------------------------------------------------------------------------------- 1 | 'required|max:255', 14 | 'first_name' => 'nullable|max:255', 15 | 'birthday' => 'nullable|date', 16 | 'sex' => 'nullable|in:männlich,weiblich' 17 | ]; 18 | } 19 | } -------------------------------------------------------------------------------- /resources/views/shared/messages.blade.php: -------------------------------------------------------------------------------- 1 | 5 | 6 | -------------------------------------------------------------------------------- /app/Http/Controllers/Api/v1/Modules/RoleController.php: -------------------------------------------------------------------------------- 1 | json(Role::all()); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /app/Http/Controllers/Legacy/MietanpassungenController.php: -------------------------------------------------------------------------------- 1 | render(); 16 | } 17 | } -------------------------------------------------------------------------------- /app/Http/Controllers/Legacy/MieteDefinierenController.php: -------------------------------------------------------------------------------- 1 | render(); 16 | } 17 | } -------------------------------------------------------------------------------- /app/Http/Requests/Modules/Persons/Credentials/UpdateRequest.php: -------------------------------------------------------------------------------- 1 | 'max:255', 16 | 'roles.*' => [Rule::in(Role::all()->pluck('name')->all())] 17 | ]; 18 | } 19 | } -------------------------------------------------------------------------------- /resources/assets/js/filters/nformat.ts: -------------------------------------------------------------------------------- 1 | import Numbro from "../libraries/numbro"; 2 | 3 | export function nformat(value, format): string { 4 | if (!format) { 5 | format = 'decimal'; 6 | } 7 | switch (format) { 8 | case 'decimal-4': 9 | format = '0,0.0000'; 10 | break; 11 | case 'decimal': 12 | case 'decimal-2': 13 | format = '0,0.00'; 14 | } 15 | value = typeof value != 'number' ? Number(value) : value; 16 | return Numbro(value).format(format); 17 | } -------------------------------------------------------------------------------- /resources/views/modules/einheiten/index.blade.php: -------------------------------------------------------------------------------- 1 | @extends('layouts.app') 2 | 3 | @section('breadcrumbs') 4 | 5 | 6 | chevron_right 7 | 8 | Einheiten 9 | 10 | 11 | @endsection 12 | 13 | @section('content') 14 | 15 | @endsection -------------------------------------------------------------------------------- /resources/views/shared/entities/details/fax.blade.php: -------------------------------------------------------------------------------- 1 |
2 | @if(!empty(trim($entity->DETAIL_INHALT))) 3 | 4 | @endif 5 | 6 | @if(!empty(trim($entity->DETAIL_INHALT))) 7 | {{$entity->DETAIL_INHALT}} 8 | @endif 9 | @if(!empty(trim($entity->DETAIL_BEMERKUNG))) 10 | {{trim($entity->DETAIL_BEMERKUNG)}} 11 | @endif 12 | 13 |
-------------------------------------------------------------------------------- /resources/views/modules/personen/index.blade.php: -------------------------------------------------------------------------------- 1 | @extends('layouts.app') 2 | 3 | @section('breadcrumbs') 4 | 5 | 6 | chevron_right 7 | 8 | Personen 9 | 10 | 11 | @endsection 12 | 13 | @section('content') 14 | 15 | @endsection -------------------------------------------------------------------------------- /app/Http/Requests/Modules/Persons/Credentials/StoreRequest.php: -------------------------------------------------------------------------------- 1 | 'required|max:255', 16 | 'roles.*' => [Rule::in(Role::all()->pluck('name')->all())] 17 | ]; 18 | } 19 | } -------------------------------------------------------------------------------- /install/config/systemd/laravel-queue.service: -------------------------------------------------------------------------------- 1 | # Laravel queue worker using systemd 2 | # ---------------------------------- 3 | # 4 | # /etc/systemd/system/laravel-queue.service 5 | # 6 | # run this command to enable service: 7 | # systemctl enable queue.service 8 | 9 | [Unit] 10 | Description=Laravel queue worker 11 | 12 | [Service] 13 | User=www-data 14 | Group=www-data 15 | Restart=always 16 | ExecStart=/usr/bin/php /var/www/berlussimo/artisan queue:work --tries=3 --timeout=600 --env=production 17 | 18 | [Install] 19 | WantedBy=multi-user.target -------------------------------------------------------------------------------- /legacy/graph/SVGraph.php: -------------------------------------------------------------------------------- 1 | ' . "\n" . 'Fatal error: PHP ' . phpversion() . ' is installed on your system. SVGraph requires PHP 5 or higher.'; 11 | exit(); 12 | } 13 | 14 | // load classes 15 | require_once('BarGraph.php'); 16 | require_once('LineGraph.php'); 17 | require_once('PieGraph.php'); -------------------------------------------------------------------------------- /resources/views/modules/auftraege/index.blade.php: -------------------------------------------------------------------------------- 1 | @extends('layouts.app') 2 | 3 | @section('breadcrumbs') 4 | 5 | 6 | chevron_right 7 | 8 | Aufträge 9 | 10 | 11 | @endsection 12 | 13 | @section('content') 14 | 15 | @endsection -------------------------------------------------------------------------------- /legacy/options/links/links.benutzer.php: -------------------------------------------------------------------------------- 1 |

Werkzeugverwaltung

2 |
3 | "; 5 | echo " 'werkzeuge']) . "'>Werkzeuge"; 6 | echo "
"; 7 | echo ""; 10 | ?> 11 |
12 | -------------------------------------------------------------------------------- /resources/assets/js/store/shared/snackbar.ts: -------------------------------------------------------------------------------- 1 | export default { 2 | namespaced: true, 3 | state() { 4 | return { 5 | show: false, 6 | message: '' 7 | } 8 | }, 9 | mutations: { 10 | updateShow(state, show) { 11 | state.show = show; 12 | }, 13 | toggleShow(state) { 14 | state.show = !state.show; 15 | }, 16 | updateMessage(state, message) { 17 | state.show = true; 18 | state.message = message; 19 | } 20 | } 21 | } -------------------------------------------------------------------------------- /resources/views/shared/entities/detail.blade.php: -------------------------------------------------------------------------------- 1 | @php($name = $entity->DETAIL_NAME) 2 | @if($name == "Telefon" || $name == "Handy") 3 | @include('shared.entities.details.telefon') 4 | @elseif($name == "Hinweis") 5 | @include('shared.entities.details.hinweis') 6 | @elseif($name == "Email") 7 | @include('shared.entities.details.email') 8 | @elseif($name == 'Zustellanschrift' || $name == 'Verzugsanschrift' || $name == 'Anschrift') 9 | @include('shared.entities.details.adresse') 10 | @else 11 | @include('shared.entities.details.detail') 12 | @endif -------------------------------------------------------------------------------- /resources/assets/js/components/common/identifiers/BankAccountIdentifier.vue: -------------------------------------------------------------------------------- 1 | 7 | 8 | -------------------------------------------------------------------------------- /resources/views/shared/entities/details/telefon.blade.php: -------------------------------------------------------------------------------- 1 | @inject('phonelocator', 'App\Services\PhoneLocator') 2 |
3 | @if(!empty(trim($entity->DETAIL_INHALT))) 4 | 5 | @endif 6 | 7 | @if(!empty(trim($entity->DETAIL_INHALT))) 8 | {!!$phonelocator->url(e($entity->DETAIL_INHALT))!!} 9 | @endif 10 | @if(!empty(trim($entity->DETAIL_BEMERKUNG))) 11 | {{trim($entity->DETAIL_BEMERKUNG)}} 12 | @endif 13 | 14 |
-------------------------------------------------------------------------------- /app/Models/Traits/CopyObject.php: -------------------------------------------------------------------------------- 1 | objekt_kopieren($this->OBJEKT_ID, $owner, $name, $prefix, $opening_balance_date, $opening_balance); 15 | error_reporting(E_ALL); 16 | return $object_id; 17 | } 18 | } -------------------------------------------------------------------------------- /legacy/graph/installation.txt: -------------------------------------------------------------------------------- 1 | Thank you for downloading SVGraph. 2 | 3 | Please unzip all the files to a folder in the document root of your webserver. 4 | 5 | The only thing you have to do to use SVGraph is to include the file "SVGraph.php" to your project, 6 | e.g. by writing 7 | 8 | require('path/to/SVGraph/SVGraph.php'); 9 | 10 | . If you do so, all SVGraph classes and methods should be available. 11 | 12 | An overview of all methods can be found here: http://slauth.de/projekte/SVGraph/api 13 | To see and download some demos of SVGraph please visit http://slauth.de/projekte/SVGraph -------------------------------------------------------------------------------- /resources/assets/js/components/shared/Footer.vue: -------------------------------------------------------------------------------- 1 | 10 | 11 | 19 | 20 | -------------------------------------------------------------------------------- /legacy/options/links/links.personal.php: -------------------------------------------------------------------------------- 1 |

Personalwesen

2 |
3 | 6 | 9 | 12 |
-------------------------------------------------------------------------------- /resources/assets/js/components/common/identifiers/JobIdentifier.vue: -------------------------------------------------------------------------------- 1 | 8 | 9 | -------------------------------------------------------------------------------- /resources/assets/js/store/shared/messages.ts: -------------------------------------------------------------------------------- 1 | export default { 2 | namespaced: true, 3 | state() { 4 | return { 5 | messages: { 6 | 'info': [], 7 | 'success': [], 8 | 'warning': [], 9 | 'error': [] 10 | } 11 | } 12 | }, 13 | mutations: { 14 | updateMessages(state, parameters) { 15 | state.messages[parameters.type] = parameters.messages; 16 | }, 17 | appendMessage(state, message) { 18 | state.messages.unshift(message); 19 | } 20 | } 21 | } -------------------------------------------------------------------------------- /resources/assets/js/components/common/VSelect.vue: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /app/Providers/FileSystemServiceProvider.php: -------------------------------------------------------------------------------- 1 | app->singleton('filesystem', function () { 18 | return new FilesystemManager($this->app); 19 | }); 20 | } 21 | 22 | } -------------------------------------------------------------------------------- /legacy/css/mobile.css: -------------------------------------------------------------------------------- 1 | @CHARSET "UTF-8"; 2 | 3 | body { 4 | background-color: #fff; 5 | } 6 | 7 | input.rot { 8 | width: 100%; 9 | height: 100px; 10 | background: red; 11 | font-size: 90px; 12 | } 13 | 14 | input.gruen { 15 | width: 100%; 16 | height: 100px; 17 | background: green; 18 | font-size: 90px; 19 | } 20 | 21 | #arbeit { 22 | width: 100%; 23 | font-color: red; 24 | font-size: 40px; 25 | font-weight: bold; 26 | text-align: center; 27 | } 28 | 29 | p.aufgabe { 30 | margin-left: 10%; 31 | width: 80%; 32 | font-color: red; 33 | font-size: 40px; 34 | font-weight: bold; 35 | text-align: center; 36 | } -------------------------------------------------------------------------------- /routes/console.php: -------------------------------------------------------------------------------- 1 | comment(Inspiring::quote()); 18 | })->describe('Display an inspiring quote'); -------------------------------------------------------------------------------- /app/Filesystem/FilesystemManager.php: -------------------------------------------------------------------------------- 1 | middleware('auth'); 18 | } 19 | 20 | /** 21 | * Show the application dashboard. 22 | * 23 | * @return \Illuminate\Http\Response 24 | */ 25 | public function index() 26 | { 27 | return view('home'); 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /app/Providers/ResponseFactoryServiceProvider.php: -------------------------------------------------------------------------------- 1 | app->singleton('Illuminate\Contracts\Routing\ResponseFactory', function ($app) { 18 | return new ResponseFactory($app['Illuminate\Contracts\View\Factory'], $app['redirect']); 19 | }); 20 | } 21 | } -------------------------------------------------------------------------------- /database/migrations/2017_06_08_072248_change_eur_symbol.php: -------------------------------------------------------------------------------- 1 | '« Previous', 17 | 'next' => 'Next »', 18 | 19 | ]; 20 | -------------------------------------------------------------------------------- /resources/lang/en/pagination.php: -------------------------------------------------------------------------------- 1 | '« Previous', 17 | 'next' => 'Next »', 18 | 19 | ]; 20 | -------------------------------------------------------------------------------- /resources/views/shared/cards/roles.blade.php: -------------------------------------------------------------------------------- 1 |
2 |
3 |
{{$title}} ({{$roles->count()}})
4 | 5 | 6 | 7 | 8 | 9 | @foreach($roles as $role) 10 | 11 | 14 | 15 | @endforeach 16 | 17 |
Rolle
12 | {{$role->name}} 13 |
18 |
19 |
-------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # berlussimo 2 | Berlussimo - Software für Hausverwaltungen (php/mysql) 3 | 4 | 5 | * BERLUSSIMO 6 | * Das Original 7 | * Hausverwaltung Software 8 | * 9 | * 10 | * @copyright Copyright (c) 2010, Berlus GmbH, Eichkampstraße 161, 14055 Berlin 11 | * @link http://www.hausverwaltung.de 12 | * @link http://www.berlus.de 13 | * @author Sanel Sivac & Wolfgang Wehrheim 14 | * @contact software(@)hausverwaltung.de 15 | * @license http://www.gnu.org/licenses/agpl.html AGPL Version 3 16 | * 17 | Please read the install Instructions under INSTALL/install_instructions.txt 18 | 19 | Enjoy Berlussimo 20 | -------------------------------------------------------------------------------- /bootstrap/autoload.php: -------------------------------------------------------------------------------- 1 | legacy('legacy/wartungsplaner/ajax.php'); 16 | } 17 | 18 | public function indexAjax() { 19 | return response()->legacy('legacy/wartungsplaner/index_ajax.php')->withHeaders( 20 | ['Content-Type' => 'text/plain'] 21 | ); 22 | } 23 | } -------------------------------------------------------------------------------- /public/.htaccess: -------------------------------------------------------------------------------- 1 | 2 | 3 | Options -MultiViews 4 | 5 | 6 | RewriteEngine On 7 | 8 | # Redirect Trailing Slashes If Not A Folder... 9 | RewriteCond %{REQUEST_FILENAME} !-d 10 | RewriteRule ^(.*)/$ /$1 [L,R=301] 11 | 12 | # Handle Front Controller... 13 | RewriteCond %{REQUEST_FILENAME} !-d 14 | RewriteCond %{REQUEST_FILENAME} !-f 15 | RewriteRule ^ index.php [L] 16 | 17 | # Handle Authorization Header 18 | RewriteCond %{HTTP:Authorization} . 19 | RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] 20 | 21 | -------------------------------------------------------------------------------- /resources/views/shared/entities/partner.blade.php: -------------------------------------------------------------------------------- 1 | 2 | @php 3 | if(!isset($icons)) 4 | { 5 | $icons = true; 6 | }; 7 | @endphp 8 | @if($icons) 9 | 10 | @endif 11 | {{ str_limit(trim($entity->PARTNER_NAME), 20) }} 12 | -------------------------------------------------------------------------------- /server.php: -------------------------------------------------------------------------------- 1 | 8 | */ 9 | 10 | $uri = urldecode( 11 | parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH) 12 | ); 13 | 14 | // This file allows us to emulate Apache's "mod_rewrite" functionality from the 15 | // built-in PHP web server. This provides a convenient way to test a Laravel 16 | // application without having installed a "real" web server software here. 17 | if ($uri !== '/' && file_exists(__DIR__.'/public'.$uri)) { 18 | return false; 19 | } 20 | 21 | require_once __DIR__.'/public/index.php'; 22 | -------------------------------------------------------------------------------- /app/Http/Requests/Modules/Persons/Jobs/UpdateRequest.php: -------------------------------------------------------------------------------- 1 | 'required|exists:job_titles,id', 14 | 'join_date' => 'required|date', 15 | 'leave_date' => 'nullable|date|after:join_date', 16 | 'hours_per_week' => 'nullable|numeric', 17 | 'holidays' => 'required|numeric', 18 | 'hourly_rate' => 'nullable|numeric' 19 | ]; 20 | } 21 | } -------------------------------------------------------------------------------- /legacy/options/links/links.form_haus.php: -------------------------------------------------------------------------------- 1 |

Häuser

2 |
3 | "; 5 | echo " 'haus_kurz']) . "'>Alle"; 6 | echo "
"; 7 | echo "
"; 8 | echo " 'haus_neu']) . "'>Neu"; 9 | echo "
"; 10 | echo "
"; 11 | echo " 'haus_aendern']) . "'>Ändern"; 12 | echo "
"; 13 | ?> 14 |
15 | -------------------------------------------------------------------------------- /resources/assets/js/components/common/identifiers/JobTitleIdentifier.vue: -------------------------------------------------------------------------------- 1 | 10 | 11 | -------------------------------------------------------------------------------- /app/Http/Controllers/Api/v1/Modules/NotificationController.php: -------------------------------------------------------------------------------- 1 | read()) { 15 | $notification->forceFill(['read_at' => null])->save(); 16 | } else { 17 | $notification->markAsRead(); 18 | } 19 | return ''; 20 | } 21 | } -------------------------------------------------------------------------------- /app/Http/Middleware/RedirectIfAuthenticated.php: -------------------------------------------------------------------------------- 1 | check()) { 21 | return redirect('/'); 22 | } 23 | 24 | return $next($request); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /app/Models/Scopes/AktuellScope.php: -------------------------------------------------------------------------------- 1 | where($model->getTable() . '.AKTUELL', '1'); 22 | } 23 | } -------------------------------------------------------------------------------- /legacy/options/links/links.details.php: -------------------------------------------------------------------------------- 1 |

Details

2 |
3 | "; 5 | echo " 'detail_suche']) . "'>Suche"; 6 | echo "
"; 7 | echo "
"; 8 | echo " 'details_neue_kat']) . "'>Neue Hauptdetails"; 9 | echo "
"; 10 | echo "
"; 11 | echo " 'details_neue_ukat']) . "'>Neue Detailoptionen"; 12 | echo "
"; 13 | ?> 14 | -------------------------------------------------------------------------------- /resources/assets/js/components/auth/UserLoader.vue: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /legacy/options/links/links.urlaub.php: -------------------------------------------------------------------------------- 1 |

Urlaub

2 |
3 | "; 5 | echo " 'uebersicht']) . "'>Übersicht"; 6 | echo "
"; 7 | echo "
"; 8 | echo " 'monatsansicht']) . "'>Monatsansicht"; 9 | echo "
"; 10 | echo "
"; 11 | echo " 'urlaubsplan_jahr']) . "'>Urlaubsplan PDF"; 12 | echo "
"; 13 | ?> 14 | 15 | -------------------------------------------------------------------------------- /.env.example: -------------------------------------------------------------------------------- 1 | APP_ENV=local 2 | APP_DEBUG=true 3 | APP_KEY=SomeRandomString 4 | APP_URL=http://localhost 5 | 6 | DB_CONNECTION=mysql 7 | DB_HOST=127.0.0.1 8 | DB_PORT=3306 9 | DB_DATABASE=homestead 10 | DB_USERNAME=homestead 11 | DB_PASSWORD=secret 12 | 13 | CACHE_DRIVER=file 14 | SESSION_DRIVER=file 15 | QUEUE_DRIVER=sync 16 | 17 | REDIS_HOST=127.0.0.1 18 | REDIS_PASSWORD=null 19 | REDIS_PORT=6379 20 | 21 | MAIL_DRIVER=smtp 22 | MAIL_HOST=mailtrap.io 23 | MAIL_PORT=2525 24 | MAIL_USERNAME=null 25 | MAIL_PASSWORD=null 26 | MAIL_ENCRYPTION=null 27 | 28 | PHONELOCATOR_CLIENT_IP=127.0.0.1 29 | PHONELOCATOR_PHONE_IP=127.0.0.1 30 | PHONELOCATOR_URL=http:///command.htm?number= 31 | -------------------------------------------------------------------------------- /app/Http/Controllers/Storage/StorageController.php: -------------------------------------------------------------------------------- 1 | file($resource_local_path); 19 | } 20 | throw new FileNotFoundException($resource); 21 | } 22 | } -------------------------------------------------------------------------------- /legacy/options/links/links.form_objekte.php: -------------------------------------------------------------------------------- 1 |

Objekte

2 |
3 | "; 5 | echo " 'objekte_kurz']) . "'>Alle"; 6 | echo "
"; 7 | echo "
"; 8 | echo " 'objekt_anlegen']) . "'>Neu"; 9 | echo "
"; 10 | echo "
"; 11 | echo " 'objekt_kopieren']) . "'>Kopieren"; 12 | echo "
"; 13 | ?> 14 | 15 | -------------------------------------------------------------------------------- /app/Models/Traits/HasEnum.php: -------------------------------------------------------------------------------- 1 | getTable() . ' WHERE Field = "' . $column . '"'))[0]['Type']; 16 | 17 | // Parse string 18 | preg_match_all("/'([^']+)'/", $enumStr, $matches); 19 | 20 | // Return matches 21 | return isset($matches[1]) ? $matches[1] : []; 22 | } 23 | } -------------------------------------------------------------------------------- /legacy/options/links/links.kasse.php: -------------------------------------------------------------------------------- 1 |

Kassen

2 |
3 | "; 5 | echo " 'kassenbuch']) . "'>Kassenbuch"; 6 | echo "
"; 7 | echo ""; 10 | echo "
"; 11 | echo " 'buchungsmaske_kasse']) . "'>E/A Buchen"; 12 | echo "
"; 13 | ?> 14 | 15 | -------------------------------------------------------------------------------- /database/seeds/UsersTableSeeder.php: -------------------------------------------------------------------------------- 1 | 73, 'name' => 'Cristian Müller', 'email' => 'mueller@berlus.de', 'password' => Hash::make('mueller'), 'api_token' => str_random(60)] 17 | ); 18 | 19 | // Loop through each user above and create the record for them in the database 20 | foreach ($users as $user) 21 | { 22 | Person::create($user); 23 | } 24 | } 25 | } -------------------------------------------------------------------------------- /legacy/css/rss.css: -------------------------------------------------------------------------------- 1 | rss { 2 | display: block; 3 | font-family: verdana, arial; 4 | } 5 | 6 | title { 7 | display: block; 8 | margin: 5px; 9 | padding: 2px; 10 | color: red; 11 | border-bottom: 1px solid silver; 12 | } 13 | 14 | link { 15 | display: block; 16 | font-size: small; 17 | padding-left: 10px; 18 | } 19 | 20 | item { 21 | display: block; 22 | padding: 2px 30px 2px 30px; 23 | } 24 | 25 | docs { 26 | display: block; 27 | background-color: #fff; 28 | margin: 20px; 29 | text-align: center; 30 | padding: 5px; 31 | color: #7f7f7f; 32 | border: 1px solid silver; 33 | } 34 | /* all hidden elements */ 35 | language, lastBuildDate, ttl, guid, category, description, pubDate { 36 | display: none; 37 | } -------------------------------------------------------------------------------- /resources/lang/de/auth.php: -------------------------------------------------------------------------------- 1 | 'These credentials do not match our records.', 17 | 'throttle' => 'Too many login attempts. Please try again in :seconds seconds.', 18 | 19 | ]; 20 | -------------------------------------------------------------------------------- /resources/lang/en/auth.php: -------------------------------------------------------------------------------- 1 | 'These credentials do not match our records.', 17 | 'throttle' => 'Too many login attempts. Please try again in :seconds seconds.', 18 | 19 | ]; 20 | -------------------------------------------------------------------------------- /app/Models/Gewerke.php: -------------------------------------------------------------------------------- 1 | 'asc']; 20 | 21 | protected static function boot() 22 | { 23 | parent::boot(); 24 | 25 | static::addGlobalScope(new AktuellScope()); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /app/Http/Middleware/AuthenticateWithIP.php: -------------------------------------------------------------------------------- 1 | ip(), config('auth-ip'))) { 22 | throw new AuthenticationException('Unauthenticated.'); 23 | } 24 | 25 | return $next($request); 26 | } 27 | 28 | } -------------------------------------------------------------------------------- /app/Http/Controllers/Legacy/RechnungenController.php: -------------------------------------------------------------------------------- 1 | render(); 18 | } 19 | 20 | public function belegpool_destroy(RechnungenRequest $request, $id) 21 | { 22 | DB::delete('DELETE FROM BELEG2RG WHERE DAT=' . $id); 23 | return redirect(URL::previous()); 24 | } 25 | } -------------------------------------------------------------------------------- /app/Http/Controllers/Legacy/IndexController.php: -------------------------------------------------------------------------------- 1 | legacy('legacy/ajax/ajax_info.php')->withHeaders( 17 | ['Content-Type' => 'text/plain'] 18 | ); 19 | } 20 | 21 | public function pie() 22 | { 23 | return response()->legacy('legacy/graph/examples/myPieGraph.php'); 24 | } 25 | 26 | public function line() 27 | { 28 | return response()->legacy('legacy/graph/examples/myLineGraph.php'); 29 | } 30 | } -------------------------------------------------------------------------------- /app/Models/HOABudgetProfile.php: -------------------------------------------------------------------------------- 1 | 'desc']; 20 | 21 | protected static function boot() 22 | { 23 | parent::boot(); 24 | 25 | static::addGlobalScope(new AktuellScope()); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /legacy/graph/examples/myPieGraph.php: -------------------------------------------------------------------------------- 1 | input('leerstand'); 5 | $vermietet = request()->input('vermietet'); 6 | if(empty($leerstand)){ 7 | $leerstand=0.00; 8 | } 9 | if(empty($vermietet)){ 10 | $vermietet=0.00; 11 | } 12 | $objekt = request()->input('objekt'); 13 | $desc = "Statistik $objekt " . request()->input('jahr'); 14 | 15 | $graph = new PieGraph(); 16 | 17 | $graph->setEcmascriptUrl(mix('js/PieGraph.js')); 18 | $graph->setStylesheetUrl(mix('css/PieGraph.css')); 19 | 20 | $graph->setGraphTitle($desc); 21 | $graph->setGraphDescription($desc); 22 | 23 | $graph->addSegment($leerstand, 'Leerstand'); 24 | $graph->addSegment($vermietet, 'Vermietet'); 25 | 26 | $graph->output(); -------------------------------------------------------------------------------- /resources/assets/js/components/common/identifiers/PartnerIdentifier.vue: -------------------------------------------------------------------------------- 1 | 8 | 9 | -------------------------------------------------------------------------------- /resources/assets/js/components/common/tiles/AccountingEntityTile.vue: -------------------------------------------------------------------------------- 1 | 11 | 12 | -------------------------------------------------------------------------------- /resources/assets/js/components/common/tiles/ConstructionSiteTile.vue: -------------------------------------------------------------------------------- 1 | 11 | 12 | -------------------------------------------------------------------------------- /resources/assets/js/components/modules/house/ListViewBreadcrumbs.vue: -------------------------------------------------------------------------------- 1 | 12 | 13 | -------------------------------------------------------------------------------- /resources/assets/js/components/modules/object/ListViewBreadcrumbs.vue: -------------------------------------------------------------------------------- 1 | 12 | 13 | -------------------------------------------------------------------------------- /resources/assets/js/components/modules/unit/ListViewBreadcrumbs.vue: -------------------------------------------------------------------------------- 1 | 12 | 13 | -------------------------------------------------------------------------------- /resources/assets/js/components/modules/person/ListViewBreadcrumbs.vue: -------------------------------------------------------------------------------- 1 | 12 | 13 | -------------------------------------------------------------------------------- /app/Http/Requests/Api/v1/Modules/Invoice/Line/UpdateRequest.php: -------------------------------------------------------------------------------- 1 | 'required', 14 | 'ARTIKEL_NR' => 'required|string', 15 | 'MENGE' => 'required|numeric', 16 | 'PREIS' => 'required|numeric', 17 | 'MWST_SATZ' => 'required|numeric|max:100', 18 | 'RABATT_SATZ' => 'required|numeric|max:100', 19 | 'SKONTO' => 'required|numeric|max:100', 20 | 'GESAMT_NETTO' => 'required|numeric' 21 | ]; 22 | } 23 | } -------------------------------------------------------------------------------- /install/DB-Version-0.4.0/berlussimo_db_0.4.2.sql: -------------------------------------------------------------------------------- 1 | CREATE TABLE IF NOT EXISTS `KAUTION_FELD` ( 2 | `DAT` int(7) NOT NULL AUTO_INCREMENT, 3 | `FELD` varchar(50) COLLATE latin1_german2_ci NOT NULL, 4 | `AKTUELL` enum('0','1') COLLATE latin1_german2_ci NOT NULL, 5 | PRIMARY KEY (`DAT`) 6 | ) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_german2_ci; 7 | 8 | INSERT INTO KAUTION_FELD (FELD, AKTUELL) VALUES ('SOLL', '1'); 9 | INSERT INTO KAUTION_FELD (FELD, AKTUELL) VALUES ('IST', '1'); 10 | INSERT INTO KAUTION_FELD (FELD, AKTUELL) VALUES ('Kautionsart', '1'); 11 | INSERT INTO KAUTION_FELD (FELD, AKTUELL) VALUES ('Kontonummer', '1'); 12 | INSERT INTO KAUTION_FELD (FELD, AKTUELL) VALUES ('Bank', '1'); 13 | INSERT INTO KAUTION_FELD (FELD, AKTUELL) VALUES ('Bemerkungen', '1'); -------------------------------------------------------------------------------- /resources/assets/js/components/modules/assignment/ListViewBreadcrumbs.vue: -------------------------------------------------------------------------------- 1 | 12 | 13 | -------------------------------------------------------------------------------- /resources/views/shared/cards/haeuser.blade.php: -------------------------------------------------------------------------------- 1 |
2 |
3 | 4 | 5 | {{$title}} ({{ $objekt->haeuser->count() }}) 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | @foreach( $haeuser as $haus ) 14 | 15 | 18 | 19 | @endforeach 20 | 21 |
Haus
16 | @include('shared.entities.haus', [ 'entity' => $haus]) 17 |
22 |
23 |
-------------------------------------------------------------------------------- /app/Providers/BroadcastServiceProvider.php: -------------------------------------------------------------------------------- 1 | extend('nchan', function (Application $app, array $config) { 20 | return new NchanBroadcaster($config); 21 | }); 22 | require base_path('routes/channels.php'); 23 | } 24 | } -------------------------------------------------------------------------------- /resources/views/shared/cards/mieter.blade.php: -------------------------------------------------------------------------------- 1 |
2 |
3 | 4 | 5 | {{$title}} ({{$mieter->count()}}) 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | @foreach( $mieter as $einMieter ) 14 | 15 | 18 | 19 | @endforeach 20 | 21 |
Mieter
16 | @include('shared.entities.person', [ 'entity' => $einMieter ]) 17 |
22 |
23 |
-------------------------------------------------------------------------------- /app/Http/Controllers/Legacy/PartnerController.php: -------------------------------------------------------------------------------- 1 | put('partner_id', $id); 16 | 17 | return redirect()->intended(route('web::legacy', [], false)); 18 | } 19 | 20 | public function serienbrief() { 21 | return view('partner.serienbrief'); 22 | } 23 | 24 | public function request(PartnerRequest $request) 25 | { 26 | return $this->render(); 27 | } 28 | } -------------------------------------------------------------------------------- /app/Models/Posting.php: -------------------------------------------------------------------------------- 1 | 2 |
3 | 4 | 5 | {{$title}} ({{$einheiten->count()}}) 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | @foreach( $einheiten as $einheit ) 14 | 15 | 18 | 19 | @endforeach 20 | 21 |
Einheit
16 | @include('shared.entities.einheit', [ 'entity' => $einheit]) 17 |
22 |
23 | -------------------------------------------------------------------------------- /app/Http/Controllers/Legacy/GeldkontenController.php: -------------------------------------------------------------------------------- 1 | render(); 16 | } 17 | 18 | public function select($id) { 19 | 20 | session()->put('geldkonto_id', $id); 21 | $gk = new gk(); 22 | session()->put('objekt_id', $gk->get_objekt_id($id)); 23 | 24 | return redirect()->intended(route('web::legacy', [], false)); 25 | } 26 | } -------------------------------------------------------------------------------- /app/Http/Middleware/DatabaseTransaction.php: -------------------------------------------------------------------------------- 1 | method()), ['post', 'put', 'patch', 'delete'])) { 21 | return DB::transaction(function () use ($request, $next) { 22 | return $next($request); 23 | }); 24 | } else { 25 | return $next($request); 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /app/Models/InvoiceItemUnit.php: -------------------------------------------------------------------------------- 1 | 'asc']; 17 | protected $appends = ['type']; 18 | 19 | static public function getTypeAttribute() 20 | { 21 | return 'invoice_item_unit'; 22 | } 23 | 24 | protected static function boot() 25 | { 26 | parent::boot(); 27 | 28 | static::addGlobalScope(new AktuellScope()); 29 | } 30 | 31 | } 32 | 33 | -------------------------------------------------------------------------------- /resources/assets/js/components/shared/LegacyLoader.vue: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /resources/assets/js/components/common/identifiers/AccountingEntityIdentifier.vue: -------------------------------------------------------------------------------- 1 | 7 | 8 | -------------------------------------------------------------------------------- /resources/assets/js/components/common/identifiers/ConstructionSiteIdentifier.vue: -------------------------------------------------------------------------------- 1 | 7 | 8 | -------------------------------------------------------------------------------- /resources/views/shared/cards/hinweise.blade.php: -------------------------------------------------------------------------------- 1 |
2 |
3 |
{{$title}} ({{$hinweise->count()}})
4 | 5 | 6 | 7 | 8 | 9 | 10 | @foreach( $hinweise as $detail ) 11 | 12 | 15 | 18 | 19 | @endforeach 20 | 21 |
WertBemerkung
13 | {{$detail->DETAIL_INHALT}} 14 | 16 | {{$detail->DETAIL_BEMERKUNG}} 17 |
22 |
23 |
-------------------------------------------------------------------------------- /resources/views/vendor/pagination/simple-default.blade.php: -------------------------------------------------------------------------------- 1 | @if ($paginator->hasPages()) 2 | 17 | @endif 18 | -------------------------------------------------------------------------------- /routes/channels.php: -------------------------------------------------------------------------------- 1 | id === (int)$id; 16 | }); 17 | 18 | Broadcast::channel('Notification.Person.{id}', function ($user, $id) { 19 | return (int)$user->id === (int)$id; 20 | }); 21 | 22 | Broadcast::channel('test', function () { 23 | return true; 24 | }); -------------------------------------------------------------------------------- /legacy/options/links/links.todo.php: -------------------------------------------------------------------------------- 1 |
2 | 16 |
-------------------------------------------------------------------------------- /resources/assets/js/libraries/vuetify/VDataTable.vue: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /resources/views/shared/cards/eigentuemer.blade.php: -------------------------------------------------------------------------------- 1 |
2 |
3 | 4 | 5 | {{$title}} ({{$eigentuemer->count()}}) 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | @foreach( $eigentuemer as $einEigentuemer ) 14 | 15 | 18 | 19 | @endforeach 20 | 21 |
Eigentümer
16 | @include('shared.entities.person', [ 'entity' => $einEigentuemer ]) 17 |
22 |
23 |
-------------------------------------------------------------------------------- /app/Models/HomeownerAssociationBudget.php: -------------------------------------------------------------------------------- 1 | 'desc']; 17 | protected $appends = ['type']; 18 | 19 | static public function getTypeAttribute() 20 | { 21 | return 'homeowner_association_budget'; 22 | } 23 | 24 | protected static function boot() 25 | { 26 | parent::boot(); 27 | 28 | static::addGlobalScope(new AktuellScope()); 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /app/Models/Traits/Searchable.php: -------------------------------------------------------------------------------- 1 | buildQuery($query, $token); 15 | } 16 | return $query; 17 | } 18 | 19 | protected function buildQuery($query, $string) 20 | { 21 | $model = $query->getModel(); 22 | $query->where(function ($q) use ($string, $model) { 23 | foreach ($model->searchableFields as $field) { 24 | $q->orWhere($field, 'like', '%' . $string . '%'); 25 | } 26 | }); 27 | return $query; 28 | } 29 | } -------------------------------------------------------------------------------- /install/DB-Version-0.4.0/berlussimo_db_0.4.3.sql: -------------------------------------------------------------------------------- 1 | INSERT INTO BK_GENERAL_KEYS (GKEY_ID, GKEY_NAME, G_VAR, E_VAR, ME, AKTUELL) VALUES (1, 'm² je Einheit', 'g_einheit_qm', 'einheit_qm', 'm²', '1'); 2 | INSERT INTO BK_GENERAL_KEYS (GKEY_ID, GKEY_NAME, G_VAR, E_VAR, ME, AKTUELL) VALUES (2, 'durch Anzahl Einheiten', 'g_anzahl_einheiten', 'anzahl_einheiten', 'ME', '1'); 3 | INSERT INTO BK_GENERAL_KEYS (GKEY_ID, GKEY_NAME, G_VAR, E_VAR, ME, AKTUELL) VALUES (3, 'Miteigentumsanteile', 'g_mea', 'e_mea', 'MEA', '1'); 4 | INSERT INTO BK_GENERAL_KEYS (GKEY_ID, GKEY_NAME, G_VAR, E_VAR, ME, AKTUELL) VALUES (4, 'Pauschal nach Verbrauch', 'g_verbrauch', 'e_verbrauch', '€', '1'); 5 | INSERT INTO BK_GENERAL_KEYS (GKEY_ID, GKEY_NAME, G_VAR, E_VAR, ME, AKTUELL) VALUES (5, 'Nach Aufzugsprozent ', 'g_aufzug_prozent', 'e_aufzug_prozent', '%', '1'); -------------------------------------------------------------------------------- /app/Http/Controllers/Legacy/HaeuserController.php: -------------------------------------------------------------------------------- 1 | render(); 17 | } 18 | 19 | public function index(HaeuserRequest $request) 20 | { 21 | return view('modules.haeuser.index'); 22 | } 23 | 24 | public function show(Haeuser $haeuser, HaeuserRequest $request) 25 | { 26 | return view('modules.haeuser.show', ['haus' => $haeuser]); 27 | } 28 | } -------------------------------------------------------------------------------- /database/migrations/2017_05_29_085911_add_su_weg_hga_zeilen.php: -------------------------------------------------------------------------------- 1 | boolean('SU_AUSZAHLEN'); 17 | }); 18 | } 19 | 20 | /** 21 | * Reverse the migrations. 22 | * 23 | * @return void 24 | */ 25 | public function down() 26 | { 27 | Schema::table('WEG_HGA_ZEILEN', function (Blueprint $table) { 28 | $table->dropColumn('SU_AUSZAHLEN'); 29 | }); 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /legacy/INSTALL/DB-Version-0.4.0/berlussimo_db_0.4.3.sql: -------------------------------------------------------------------------------- 1 | INSERT INTO BK_GENERAL_KEYS (GKEY_ID, GKEY_NAME, G_VAR, E_VAR, ME, AKTUELL) VALUES (1, 'm² je Einheit', 'g_einheit_qm', 'einheit_qm', 'm²', '1'); 2 | INSERT INTO BK_GENERAL_KEYS (GKEY_ID, GKEY_NAME, G_VAR, E_VAR, ME, AKTUELL) VALUES (2, 'durch Anzahl Einheiten', 'g_anzahl_einheiten', 'anzahl_einheiten', 'ME', '1'); 3 | INSERT INTO BK_GENERAL_KEYS (GKEY_ID, GKEY_NAME, G_VAR, E_VAR, ME, AKTUELL) VALUES (3, 'Miteigentumsanteile', 'g_mea', 'e_mea', 'MEA', '1'); 4 | INSERT INTO BK_GENERAL_KEYS (GKEY_ID, GKEY_NAME, G_VAR, E_VAR, ME, AKTUELL) VALUES (4, 'Pauschal nach Verbrauch', 'g_verbrauch', 'e_verbrauch', '€', '1'); 5 | INSERT INTO BK_GENERAL_KEYS (GKEY_ID, GKEY_NAME, G_VAR, E_VAR, ME, AKTUELL) VALUES (5, 'Nach Aufzugsprozent ', 'g_aufzug_prozent', 'e_aufzug_prozent', '%', '1'); -------------------------------------------------------------------------------- /resources/assets/js/components/common/tiles/BankAccountStandardChartTile.vue: -------------------------------------------------------------------------------- 1 | 13 | 14 | -------------------------------------------------------------------------------- /app/Messages/Message.php: -------------------------------------------------------------------------------- 1 | message = $message; 18 | } 19 | 20 | /** 21 | * @return mixed 22 | */ 23 | public function getMessage() 24 | { 25 | return $this->message; 26 | } 27 | 28 | /** 29 | * @param mixed $message 30 | */ 31 | public function setMessage($message) 32 | { 33 | $this->message = $message; 34 | } 35 | 36 | /** 37 | * @return string 38 | */ 39 | public function getType() 40 | { 41 | return $this::TYPE; 42 | } 43 | } -------------------------------------------------------------------------------- /database/migrations/2017_05_30_054127_add_su_kontenrahmen.php: -------------------------------------------------------------------------------- 1 | boolean('SONDERUMLAGE'); 17 | }); 18 | } 19 | 20 | /** 21 | * Reverse the migrations. 22 | * 23 | * @return void 24 | */ 25 | public function down() 26 | { 27 | Schema::table('KONTENRAHMEN_KONTEN', function (Blueprint $table) { 28 | $table->dropColumn('SONDERUMLAGE'); 29 | }); 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /legacy/css/print_buchungsjournal.css: -------------------------------------------------------------------------------- 1 | a { 2 | display: none; 3 | } 4 | 5 | body { 6 | background-color: transparent; 7 | font-size: 10pt; 8 | font-family: 'Arial'; 9 | margin-left: 70px; 10 | margin-right: 70px; 11 | } 12 | 13 | .navi_leiste1 { 14 | display: none; 15 | } 16 | 17 | .navi_leiste2 { 18 | display: none; 19 | } 20 | 21 | form, fieldset { 22 | border: 0; 23 | } 24 | 25 | legend { 26 | display: none; 27 | } 28 | 29 | th { 30 | font: bold 14px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif; 31 | color: #000; 32 | border-bottom: 1px solid #C1DAD7; 33 | border-top: 0px solid #C1DAD7; 34 | letter-spacing: 2px; 35 | text-transform: uppercase; 36 | padding: 2px 2px 2px 0px; 37 | } 38 | 39 | thead { 40 | display: table-header-group; 41 | } 42 | 43 | tbody { 44 | display: table-row-group; 45 | } -------------------------------------------------------------------------------- /app/Http/Controllers/Legacy/ObjekteController.php: -------------------------------------------------------------------------------- 1 | render(); 18 | } 19 | 20 | public function index(ObjekteRequest $request) 21 | { 22 | return view('modules.objekte.index'); 23 | } 24 | 25 | public function show(Objekte $objekte, ObjekteRequest $request) 26 | { 27 | return view('modules.objekte.show', ['objekt' => $objekte]); 28 | } 29 | } -------------------------------------------------------------------------------- /resources/views/shared/menus/partner_select.blade.php: -------------------------------------------------------------------------------- 1 | @can(\App\Libraries\Permission::PERMISSION_MODUL_RECHNUNG) 2 | @if(session()->has('partner_id')) 3 | get_partner_name(session()->get('partner_id')); ?> 4 | 'partner_wechseln'])}}'> 6 | 7 | {{str_limit($p->partner_name, 20)}} 8 | @else 9 | 'partner_wechseln'])}}'> 11 | 12 | Partner wählen 13 | @endif 14 | @endcan -------------------------------------------------------------------------------- /app/Http/Controllers/Legacy/PersonenController.php: -------------------------------------------------------------------------------- 1 | render(); 18 | } 19 | 20 | public function index(PersonenRequest $request) 21 | { 22 | return view('modules.personen.index'); 23 | } 24 | 25 | public function show(Person $personen, PersonenRequest $request) 26 | { 27 | return view('modules.personen.show', ['person' => $personen]); 28 | } 29 | } -------------------------------------------------------------------------------- /resources/views/shared/entities/benutzer.blade.php: -------------------------------------------------------------------------------- 1 | 2 | @php 3 | if(!isset($icons)) 4 | { 5 | $icons = true; 6 | }; 7 | @endphp 8 | @if($icons) 9 | 10 | @endif 11 | @can(\App\Libraries\Permission::PERMISSION_MODUL_BENUTZER) 12 | {{$entity->name}} 13 | @else 14 | {{$entity->name}} 15 | @endcan 16 | -------------------------------------------------------------------------------- /database/migrations/2016_06_07_100000_create_password_resets_table.php: -------------------------------------------------------------------------------- 1 | string('email')->index(); 17 | $table->string('token')->index(); 18 | $table->timestamp('created_at'); 19 | }); 20 | } 21 | 22 | /** 23 | * Reverse the migrations. 24 | * 25 | * @return void 26 | */ 27 | public function down() 28 | { 29 | Schema::dropIfExists('password_resets'); 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /resources/views/shared/entities/details/email.blade.php: -------------------------------------------------------------------------------- 1 |
2 | @if(!empty(trim($entity->DETAIL_INHALT))) 3 | 4 | @endif 5 | 6 | @if(!empty(trim($entity->DETAIL_INHALT))) 7 | @if($entity->from instanceof \App\Models\Person) 8 | {{trim($entity->DETAIL_INHALT)}} 9 | @else 10 | {{trim($entity->DETAIL_INHALT)}} 11 | @endif 12 | @endif 13 | @if(!empty(trim($entity->DETAIL_BEMERKUNG))) 14 | {{trim($entity->DETAIL_BEMERKUNG)}} 15 | @endif 16 | 17 |
-------------------------------------------------------------------------------- /resources/views/shared/menus/account_select.blade.php: -------------------------------------------------------------------------------- 1 | @can(\App\Libraries\Permission::PERMISSION_MODUL_BUCHEN) 2 | @if(session()->has('geldkonto_id')) 3 | geld_konto_details(session()->get('geldkonto_id')); ?> 4 | 'geldkonto_aendern'])}}'> 6 | 7 | {{str_limit($g->geldkonto_bezeichnung_kurz, 20)}} 8 | @else 9 | 'geldkonto_aendern'])}}'> 11 | 12 | Geldkonto wählen 13 | @endif 14 | @endcan -------------------------------------------------------------------------------- /app/Http/Controllers/Legacy/EinheitenController.php: -------------------------------------------------------------------------------- 1 | render(); 17 | } 18 | 19 | public function index(EinheitenRequest $request) 20 | { 21 | return view('modules.einheiten.index'); 22 | } 23 | 24 | public function show(Einheiten $einheiten, EinheitenRequest $request) 25 | { 26 | return view('modules.einheiten.show', ['einheit' => $einheiten]); 27 | } 28 | } -------------------------------------------------------------------------------- /resources/assets/js/components/shared/UserMenuList.vue: -------------------------------------------------------------------------------- 1 | 11 | 12 | -------------------------------------------------------------------------------- /resources/assets/js/components/common/tiles/BankAccountTile.vue: -------------------------------------------------------------------------------- 1 | 13 | 14 | -------------------------------------------------------------------------------- /resources/assets/js/components/common/tiles/BookingAccountTile.vue: -------------------------------------------------------------------------------- 1 | 13 | 14 | -------------------------------------------------------------------------------- /resources/assets/sass/app.scss: -------------------------------------------------------------------------------- 1 | @charset "UTF-8"; 2 | 3 | /* ajust line heiht of v-text-field with prepended mdi icon */ 4 | .input-group__prepend-icon.mdi:before { 5 | line-height: normal; 6 | } 7 | 8 | /* fade transition */ 9 | .fade-enter-active { 10 | transition: all .3s ease; 11 | } 12 | 13 | .fade-leave-active { 14 | transition: all .3s ease; 15 | } 16 | 17 | .fade-enter, .fade-leave-to { 18 | opacity: 0; 19 | } 20 | 21 | [v-cloak] { 22 | display: none; 23 | } 24 | 25 | // materialize-css: For textarea autoresize 26 | .hiddendiv { 27 | display: none; 28 | white-space: pre-wrap; 29 | word-wrap: break-word; 30 | overflow-wrap: break-word; /* future version of deprecated 'word-wrap' */ 31 | padding-top: 1.2rem; /* prevents text jump on Enter keypress */ 32 | 33 | // Reduces repaints 34 | position: absolute; 35 | top: 0; 36 | } -------------------------------------------------------------------------------- /resources/assets/js/components/shared/main/Menu.vue: -------------------------------------------------------------------------------- 1 | 4 | 5 | -------------------------------------------------------------------------------- /resources/views/modules/haeuser/index.blade.php: -------------------------------------------------------------------------------- 1 | @extends('layouts.app') 2 | 3 | @section('breadcrumbs') 4 | 5 | 6 | chevron_right 7 | 8 | Häuser 9 | 10 | 11 | @endsection 12 | 13 | @section('content') 14 | 15 | 19 | @endsection -------------------------------------------------------------------------------- /app/Providers/EventServiceProvider.php: -------------------------------------------------------------------------------- 1 | [] 19 | ]; 20 | 21 | /** 22 | * Register any events for your application. 23 | * 24 | * @return void 25 | */ 26 | public function boot() 27 | { 28 | parent::boot(); 29 | Event::listen(StatementPrepared::class, function ($event) { 30 | $event->statement->setFetchMode(PDO::FETCH_ASSOC); 31 | }); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /database/factories/ModelFactory.php: -------------------------------------------------------------------------------- 1 | 2 | define(App\Models\Person::class, function (Faker\Generator $faker) { 15 | static $password; 16 | return [ 17 | 'name' => $faker->name, 18 | 'email' => $faker->unique()->safeEmail, 19 | 'password' => $password ?: $password = bcrypt('secret'), 20 | 'remember_token' => str_random(10), 21 | ]; 22 | }); 23 | -------------------------------------------------------------------------------- /legacy/options/links/links.mietkonten_blatt_uebersicht.php: -------------------------------------------------------------------------------- 1 |

Mietkontenübersicht -> Darstelltungsoptionen...

2 | "; 7 | echo ""; 10 | echo "
"; 11 | echo "Zeitraum eingrenzen"; 12 | echo "
"; 13 | ?> 14 | -------------------------------------------------------------------------------- /resources/assets/js/components/common/chips/UnitChip.vue: -------------------------------------------------------------------------------- 1 | 15 | 16 | -------------------------------------------------------------------------------- /database/migrations/2019_03_05_084951_add_invoice_forwarded_flag_to_RECHNUNGEN.php: -------------------------------------------------------------------------------- 1 | string('forwarded')->default('auto'); 18 | }); 19 | } 20 | 21 | /** 22 | * Reverse the migrations. 23 | * 24 | * @return void 25 | */ 26 | public function down() 27 | { 28 | Schema::table('RECHNUNGEN', function (Blueprint $table) { 29 | $table->dropColumn('forwarded'); 30 | }); 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /resources/assets/js/components/common/chips/HouseChip.vue: -------------------------------------------------------------------------------- 1 | 15 | 16 | -------------------------------------------------------------------------------- /resources/assets/js/components/common/chips/InvoiceChip.vue: -------------------------------------------------------------------------------- 1 | 14 | 15 | -------------------------------------------------------------------------------- /resources/assets/js/components/common/chips/ObjectChip.vue: -------------------------------------------------------------------------------- 1 | 15 | 16 | -------------------------------------------------------------------------------- /resources/assets/js/components/shared/cards/PartnerCard.vue: -------------------------------------------------------------------------------- 1 | 16 | 17 | -------------------------------------------------------------------------------- /resources/views/shared/entities/kaufvertrag.blade.php: -------------------------------------------------------------------------------- 1 | 2 | @if($entity->isActive()) 3 | 5 | @else 6 | 8 | @endif 9 | KV-{{$entity->ID}} 10 | 12 | -------------------------------------------------------------------------------- /app/Models/DetailSubcategory.php: -------------------------------------------------------------------------------- 1 | 'asc', 'UNTERKATEGORIE_NAME' => 'asc']; 17 | protected $fillable = ['KATEGORIE_ID', 'UNTERKATEGORIE_NAME', 'AKTUELL']; 18 | 19 | 20 | protected static function boot() 21 | { 22 | parent::boot(); 23 | 24 | static::addGlobalScope(new AktuellScope()); 25 | } 26 | 27 | public function category() 28 | { 29 | return $this->belongsTo(DetailCategory::class, 'KATEGORIE_ID'); 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /resources/assets/js/components/common/chips/PartnerChip.vue: -------------------------------------------------------------------------------- 1 | 15 | 16 | -------------------------------------------------------------------------------- /resources/lang/de/passwords.php: -------------------------------------------------------------------------------- 1 | 'Passwords must be at least six characters and match the confirmation.', 17 | 'reset' => 'Your password has been reset!', 18 | 'sent' => 'We have e-mailed your password reset link!', 19 | 'token' => 'This password reset token is invalid.', 20 | 'user' => "We can't find a user with that e-mail address.", 21 | 22 | ]; 23 | -------------------------------------------------------------------------------- /resources/lang/en/passwords.php: -------------------------------------------------------------------------------- 1 | 'Passwords must be at least six characters and match the confirmation.', 17 | 'reset' => 'Your password has been reset!', 18 | 'sent' => 'We have e-mailed your password reset link!', 19 | 'token' => 'This password reset token is invalid.', 20 | 'user' => "We can't find a user with that e-mail address.", 21 | 22 | ]; 23 | -------------------------------------------------------------------------------- /resources/parser/script.php: -------------------------------------------------------------------------------- 1 | main($file->getPathname()); 9 | $content = file_get_contents($file->getPath() . DIRECTORY_SEPARATOR . $file->getBasename('.y') . '.php'); 10 | $namespace = str_replace(DIRECTORY_SEPARATOR, '\\', $argv[4]); 11 | if(!empty($namespace)) { 12 | $content = str_replace('getPath() . DIRECTORY_SEPARATOR . $file->getBasename('.y') . '.php', $content); 23 | unset($parser); -------------------------------------------------------------------------------- /app/Models/BaustellenExtern.php: -------------------------------------------------------------------------------- 1 | 'asc', 'BEZ' => 'asc']; 20 | protected $appends = ['type']; 21 | 22 | static public function getTypeAttribute() 23 | { 24 | return 'construction_site'; 25 | } 26 | 27 | protected static function boot() 28 | { 29 | parent::boot(); 30 | 31 | static::addGlobalScope(new AktuellScope()); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /resources/assets/js/mixins/CopyToClipboard.vue: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /resources/assets/js/components/common/chips/AccountingEntityChip.vue: -------------------------------------------------------------------------------- 1 | 15 | 16 | -------------------------------------------------------------------------------- /resources/assets/js/components/common/chips/ConstructionSiteChip.vue: -------------------------------------------------------------------------------- 1 | 15 | 16 | -------------------------------------------------------------------------------- /legacy/wartungsplaner/form.css: -------------------------------------------------------------------------------- 1 | @CHARSET "UTF-8"; 2 | .formbox { 3 | color: #000; 4 | } 5 | 6 | .reihe { 7 | clear: both; 8 | padding: 2px 0; 9 | border: 1px solid #666; 10 | background-color: #fff; 11 | } 12 | 13 | .label { 14 | float: left; 15 | text-align: left; 16 | padding-left: 3px; 17 | padding-top: 3px; 18 | padding-right: 5px; 19 | font-size: 14px; 20 | font-family: verdana; 21 | color: white; 22 | 23 | } 24 | 25 | .feld { 26 | float: right; 27 | text-align: left; 28 | margin-right: 2px; 29 | } 30 | 31 | .knopf { 32 | clear: both; 33 | float: right; 34 | } 35 | 36 | .defbreite { 37 | width: 300px; 38 | } 39 | 40 | .defbreite input { 41 | color: #fff; 42 | background-color: #000; 43 | } 44 | 45 | input[disabled] { 46 | background: #bbea78; 47 | color: red; 48 | 49 | } 50 | 51 | select { 52 | width: 250px; 53 | } -------------------------------------------------------------------------------- /resources/assets/js/components/common/chips/BankAccountChip.vue: -------------------------------------------------------------------------------- 1 | 15 | 16 | -------------------------------------------------------------------------------- /app/Models/JobTitle.php: -------------------------------------------------------------------------------- 1 | 'asc']; 18 | protected $guarded = []; 19 | protected $appends = ['type']; 20 | 21 | static public function getTypeAttribute() 22 | { 23 | return 'job_title'; 24 | } 25 | 26 | public function employer() 27 | { 28 | return $this->hasOne(Partner::class, 'employer_id'); 29 | } 30 | 31 | public function employee() 32 | { 33 | return $this->hasOne(Person::class, 'employee_id'); 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /app/Providers/AuthServiceProvider.php: -------------------------------------------------------------------------------- 1 | 'App\Policies\ModelPolicy', 18 | ]; 19 | 20 | /** 21 | * Register any authentication / authorization services. 22 | * 23 | * @return void 24 | */ 25 | public function boot() 26 | { 27 | $this->registerPolicies(); 28 | Auth::provider('berlussimo', function ($app, $config) { 29 | return new BerlussimoUserProvider($app['hash'], $config['model']); 30 | }); 31 | Passport::routes(); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /resources/assets/js/components/common/chips/RentalContractChip.vue: -------------------------------------------------------------------------------- 1 | 15 | 16 | -------------------------------------------------------------------------------- /database/migrations/2019_02_26_125522_add_energy_cost_inflation_to_hoa_budget_table.php: -------------------------------------------------------------------------------- 1 | decimal('ENERGIEKOSTENANPASSUNG', 4, 1)->default(0); 18 | }); 19 | } 20 | 21 | /** 22 | * Reverse the migrations. 23 | * 24 | * @return void 25 | */ 26 | public function down() 27 | { 28 | Schema::table('WEG_WPLAN', function (Blueprint $table) { 29 | $table->dropColumn('ENERGIEKOSTENANPASSUNG'); 30 | }); 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /resources/assets/js/components/common/chips/PurchaseContractChip.vue: -------------------------------------------------------------------------------- 1 | 15 | 16 | -------------------------------------------------------------------------------- /resources/assets/js/libraries/axios.ts: -------------------------------------------------------------------------------- 1 | import axios from "axios"; 2 | import store from "../store"; 3 | 4 | let token = document.head.querySelector('meta[name="csrf-token"]'); 5 | 6 | if (token) { 7 | axios.defaults.headers.common['X-CSRF-TOKEN'] = token['content']; 8 | } 9 | axios.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest'; 10 | 11 | axios.interceptors.response.use(function (response) { 12 | return response; 13 | }, function (error) { 14 | if (401 === error.response.status) { 15 | store.dispatch('auth/appLogout'); 16 | } 17 | return Promise.reject(error); 18 | }); 19 | 20 | axios.interceptors.request.use(function (config) { 21 | if (store.state['auth']['csrf']) { 22 | config.headers['X-CSRF-TOKEN'] = store.state['auth']['csrf']; 23 | } 24 | return config; 25 | }, function (error) { 26 | return Promise.reject(error); 27 | }); 28 | 29 | export default axios; --------------------------------------------------------------------------------