Skip to content

Instantly share code, notes, and snippets.

View webnitros's full-sized avatar

Андрей webnitros

View GitHub Profile
{extends 'file:templates/base.tpl'}
{block 'pagetitle'}
{/block}
{block 'content-wrapper'}
<section class="">
<div class="container">
<div class="row">
<div class="col-md-12 box">
{var $images = $_modx->page['images']}
<?php
/**
* Created by Andrey Stepanenko.
* User: webnitros
* Date: 01.03.2022
* Time: 17:51
*/
namespace App\Controllers\Resource\Store\Helpers;
var SieBar = document.querySelector('.Layout-sidebar')
var myform = document.getElementById('new_issue')
function getTasks (links) {
var head = document.getElementsByTagName('head')[0]
var link = document.createElement('link')
link.rel = 'stylesheet'
link.type = 'text/css'
{
"name": "fandeco.ru",
"version": "1.0.0",
"description": "верстка для сайта fandeco.ru",
"main": "main.js",
"scripts": {
"start": "gulp",
"build": "gulp build"
},
"license": "ISC",
@webnitros
webnitros / spec.js
Last active October 27, 2021 07:55
/// <reference types="cypress" />
describe('Тестирование загрузки страницы', () => {
it('has header links', () => {
cy.visit('https://site.russsss')
})
})
@webnitros
webnitros / ci.yml
Created October 27, 2021 07:51
Конфиг
name: Testing fandeco.ru
# specify the events this workflow should run on
# https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#on
on:
# manual button click from the GitHub UI
workflow_dispatch:
# pushing commit to the main branch
push:
branches:
- master

Чеки на аванс

Ссылка на скриншот (1 чек на скрине) https://yadi.sk/d/GjCZ6o1KT4Pnzg

{
    "type": "SALE", // Приход
    "taxSystem": "none", // Система налого облажения
 "cashier": {
<?php
/**
* В системных настройка изменить класс обработчика mse2_filters_handler_class myCustomFilter
* файл custom.class.php положить в core/components/msearch2/custom/filters/custom.class.php
*/
class myCustomFilter extends mse2FiltersHandler
{
/**
* Retrieves values from miniShop2 Product table
var categoryFilter = {
// Наши селекторы
options: {
category: '#mse2_ms\\|category',
subcategory: '#mse2_ms\\|sub_category',
},
// Запуск функции
initialize: function () {
$this = this
function slideSwiper(){
var a = $('.new_header_main_slider_wrap').length;
if(a){
var swiper = new Swiper('.new_header_main_slider_wrap', {
slidesPerView: 1,
pagination: {
el: '.swiper-pagination',
clickable: true,
},
preloadImages: false,