Skip to content
Code-Schnipsel Gruppen Projekte
Commit 8be330f5 erstellt von Henning Leutz's avatar Henning Leutz :martial_arts_uniform:
Dateien durchsuchen

refactor: ERP API integriert, locale, umbenennung für invoice

Übergeordneter 209ebc0c
Keine zugehörigen Branchen gefunden
Keine zugehörigen Tags gefunden
2 Merge Requests!2Dev,!1Dev
{"name":"quiqqer\/bill","type":"quiqqer-module","description":"","version":"dev-dev","license":"","authors":[{"name":"Henning Leutz","email":"leutz@pcsg.de","homepage":"http:\/\/www.pcsg.de","role":"Developer"}],"support":{"email":"support@pcsg.de","url":"http:\/\/www.pcsg.de"},"require":{"php":">=5.6","quiqqer\/quiqqer":"1.*|dev-master|dev-dev"},"autoload":{"psr-4":{"QUI\\ERP\\":"src\/QUI\/ERP"}}}
\ No newline at end of file
{
"name": "quiqqer\/invoice",
"type": "quiqqer-module",
"description": "",
"version": "dev-dev",
"license": "",
"authors": [
{
"name": "Henning Leutz",
"email": "leutz@pcsg.de",
"homepage": "http:\/\/www.pcsg.de",
"role": "Developer"
}
],
"support": {
"email": "support@pcsg.de",
"url": "http:\/\/www.pcsg.de"
},
"require": {
"php": ">=5.6",
"quiqqer\/quiqqer": "1.*|dev-master|dev-dev",
"quiqqer\/erp": "1.*|dev-master|dev-dev"
},
"autoload": {
"psr-4": {
"QUI\\ERP\\": "src\/QUI\/ERP"
}
}
}
\ No newline at end of file
......@@ -19,7 +19,7 @@
<field type="int(3) NULL">time_for_payment</field>
<field type="int(2) NOT NULL">paid_status</field>
<field type="timestamp NOT NULL DEFAULT '0000-00-00 00:00:00'">paid_date</field>
<field type="int(11) NULL">paid_date</field>
<field type="text NULL">paid_data</field>
<field type="int(1) DEFAULT 0">canceled</field> <!-- storno -->
......@@ -66,7 +66,7 @@
<field type="int(3) NULL">time_for_payment</field>
<field type="int(2) NOT NULL">paid_status</field>
<field type="timestamp NOT NULL DEFAULT '0000-00-00 00:00:00'">paid_date</field>
<field type="int(11) NULL">paid_date</field>
<field type="text NULL">paid_data</field>
<field type="int(1) DEFAULT 0">canceled</field> <!-- storno -->
......
<?xml version="1.0" encoding="UTF-8"?>
<locales>
<groups name="quiqqer/invoice" datatype="php,js">
<locale name="package.title">
<de><![CDATA[QUIQQER - Shop - Rechnungssystem]]></de>
<en><![CDATA[QUIQQER - Shop - Invoice]]></en>
</locale>
<locale name="erp.panel.bills.text">
<de><![CDATA[Rechnungen (Journal)]]></de>
<en><![CDATA[Invoices (Journal)]]></en>
</locale>
<locale name="erp.panel.bills.create.text">
<de><![CDATA[Rechnungen erstellen]]></de>
<en><![CDATA[Create Invoices]]></en>
</locale>
</groups>
</locales>
\ No newline at end of file
<quiqqer>
<package>
<title>
<locale group="quiqqer/invoice" var="package.title"/>
</title>
<description>
<locale group="quiqqer/invoice" var="package.title"/>
</description>
<provider>
<erp src="\QUI\ERP\Accounting\Invoice\ErpProvider"/>
</provider>
</package>
</quiqqer>
\ No newline at end of file
<?php
/**
* This file contains QUI\ERP\Accounting\Invoice\ErpProvider
*/
namespace QUI\ERP\Accounting\Invoice;
use QUI\ERP\Api\AbstractFactory;
/**
* Class ErpProvider
*
* @package QUI\ERP\Accounting\Invoice
*/
class ErpProvider extends AbstractFactory
{
/**
* @return array
*/
public static function getMenuItems()
{
$menu = array();
$menu[] = array(
'icon' => 'fa fa-money',
'text' => array('quiqqer/invoice', 'erp.panel.bills.text'),
'events' => array(
'onClick' => ''
)
);
$menu[] = array(
'icon' => 'fa fa-money',
'text' => array('quiqqer/invoice', 'erp.panel.bills.create.text'),
'events' => array(
'onClick' => ''
)
);
return $menu;
}
}
0% Lade oder .
You are about to add 0 people to the discussion. Proceed with caution.
Bearbeitung dieser Nachricht zuerst beenden!
Bitte registrieren oder zum Kommentieren