Skip to content

Instantly share code, notes, and snippets.

<?php
/**
* The homepage template
* Template Name: HomePage
*
* @package private-holidays
*/
get_header();
?>
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="../../styles/bootstrap.css">
<link rel="stylesheet" type="text/css" href="../../styles/slick.css"/>
/* Buttons */
.btn-default {
display: inline-block;
font-weight: 400;
color: #0065F2;
text-align: center;
vertical-align: middle;
cursor: pointer;
-webkit-user-select: none;
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="../../styles/bootstrap.css">
<link rel="stylesheet" href="../../styles/slick.css"/>
.modul-title {
color: #000000;
font-size: 32px;
font-weight: bold;
letter-spacing: -0.4px;
line-height: 38px;
}
/* Filter buttons */
.simple-button {
@if($currentUser->hasAccess(['module.employee.update', 'module.employee.edit']))
<script type="text/javascript">
$('.selectpicker').selectpicker({});
</script>
<script src="{{asset("js/circleDonutChart.js")}}"></script>
<meta name="csrf-token" content="{{ csrf_token() }}">
<?php
$experience = $employee->userExperiences->first();
@if($currentUser->hasAccess(['module.employee.update', 'module.employee.edit']))
<script type="text/javascript">
$('.selectpicker').selectpicker({});
</script>
<script src="{{asset("js/circleDonutChart.js")}}"></script>
<meta name="csrf-token" content="{{ csrf_token() }}">
<?php
$experience = $employee->userExperiences->first();
add_filter('column-content-wrapper', function($content) use ($trunk_show) {
// parse the trunk show content as HTML
$trunkShowDomDocument = new \DOMDocument();
$trunkShowDomDocument->loadHTML('<?xml encoding="utf-8" ?>' . $content);
// create a new element to wrap the content
$wrapperEl = $trunkShowDomDocument->createElement('div');
$wrapperEl->setAttribute('class','content-column-wrapper');
$wrapperEl1 = $trunkShowDomDocument->createElement('div');
{
"key": "group_5b07d49a8f3ed",
"title": "Component - Flexible Contents ( news )",
"fields": [
{
"key": "field_5b07d49a94e17",
"label": "Contents",
"name": "contents",
"type": "flexible_content",
"instructions": "",
@extends('layouts.app')
@section('page_title', 'Invoices')
@section('breadcrumb-first-level', 'Invoices')
@section('breadcrumb-second-level', $invoice->id)
@section('content')
<div class="content p-10">
<div class="primary-table p-5">
<h2 class="mb-5 mt-5 text-grey-darker">Invoice #{{ $invoice->id }}</h2>
<div class="w-3/5">