Git Product home page Git Product logo

dealer's Introduction

Dealer 2.4.2

Scrutinizer Code Quality

author : Penalver Antony [email protected]

This module Thelia generate CRUD interface for dealer.

Compatibility

Thelia >= 2.1.3 Developped for : Thelia 2.2.1

Installation

Manually

  • Copy the module into <thelia_root>/local/modules/ directory and be sure that the name of the module is Dealer.
  • Activate it in your thelia administration panel

Composer

Add it in your main thelia composer.json file

composer require thelia/dealer-module:~2.0

Usage

You can find main Dealer interface on modules admin menu.

Loop

DealerLoop

Input arguments

Argument Description
id filter by id
city filter by city
country_id filter by country
order order result by "id","id-reverse","date","date-reverse"

Output arguments

Variable Description
$ID id
$TITLE Name
$ADDRESS1 First element address
$ADDRESS2 Second element address
$ADDRESS3 Third element address
$ZIPCODE Address zip code
$CITY City name
$COUNTRY_ID Country id-reverse
$DESCRIPTION Dealer description
$LAT Latitude
$LON Longitude
$CREATE_DATE Creation date
$UPDATE_DATE Last update date

ContactLoop

Input arguments

Argument Description
id filter by id
dealer_id filter by dealer
order order result by "id","id-reverse","label","label-reverse"

Output arguments

Variable Description
$ID id
$DEALER_ID Associated Dealer id
$IS_DEFAULT Boolean
$LABEL Contact group name

ContactInfoLoop

Input arguments

Argument Description
id filter by id
contact_id filter by contact
order order result by "id","id-reverse","value","value-reverse"

Output arguments

Variable Description
$ID id
$CONTACT_ID Associated Contact id
$CONTACT_TYPE Contact type
$CONTACT_TYPE_ID Contact type id
$VALUE Contact value

SchedulesLoop

Input arguments

Argument Description
id filter by id
dealer_id filter by dealer
default_period filter by default schedule
day filter by day
order order result by "id","id-reverse","day","day-reverse"

Output arguments

Variable Description
$ID id
$DEALER_ID Associated Dealer id
$DAY Day value
$DAY_LABEL Day label
$BEGIN Schedules start
$END Schedules end
$PERIOD_BEGIN Schedules period start
$PERIOD_END Schedules period end

dealer's People

Contributors

soldras avatar tompradat avatar zzuutt avatar gillesbourgeat avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.