mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-04-16 04:50:09 -04:00
proper support of date range in reports input leveraging all the features, translations and fixed some bugs (#116)
This commit is contained in:
@@ -31,25 +31,11 @@ class Reports extends Secure_area
|
||||
$this->load->view("reports/listing",$data);
|
||||
}
|
||||
|
||||
function _get_common_report_data()
|
||||
{
|
||||
$data = array();
|
||||
$data['report_date_range_simple'] = get_simple_date_ranges();
|
||||
$data['months'] = get_months();
|
||||
$data['days'] = get_days();
|
||||
$data['years'] = get_years();
|
||||
$data['selected_month']=date('n');
|
||||
$data['selected_day']=date('d');
|
||||
$data['selected_year']=date('Y');
|
||||
|
||||
return $data;
|
||||
}
|
||||
|
||||
//Input for reports that require only a date range and an export to excel. (see routes.php to see that all summary reports route here)
|
||||
function date_input_excel_export()
|
||||
{
|
||||
$data = $this->_get_common_report_data();
|
||||
$this->load->view("reports/date_input_excel_export",$data);
|
||||
$data = array();
|
||||
$this->load->view("reports/date_input_excel_export", $data);
|
||||
}
|
||||
|
||||
function get_detailed_sales_row($sale_id)
|
||||
@@ -337,7 +323,7 @@ class Reports extends Secure_area
|
||||
//Input for reports that require only a date range. (see routes.php to see that all graphical summary reports route here)
|
||||
function date_input()
|
||||
{
|
||||
$data = $this->_get_common_report_data();
|
||||
$data = array();
|
||||
$data['mode'] = 'sale';
|
||||
$this->load->view("reports/date_input",$data);
|
||||
}
|
||||
@@ -345,7 +331,7 @@ class Reports extends Secure_area
|
||||
//Input for reports that require only a date range. (see routes.php to see that all graphical summary reports route here)
|
||||
function date_input_sales()
|
||||
{
|
||||
$data = $this->_get_common_report_data();
|
||||
$data = array();
|
||||
$stock_locations = $this->Stock_location->get_allowed_locations('sales');
|
||||
$stock_locations['all'] = $this->lang->line('reports_all');
|
||||
$data['stock_locations'] = array_reverse($stock_locations, TRUE);
|
||||
@@ -355,7 +341,7 @@ class Reports extends Secure_area
|
||||
|
||||
function date_input_recv()
|
||||
{
|
||||
$data = $this->_get_common_report_data();
|
||||
$data = array();
|
||||
$stock_locations = $this->Stock_location->get_allowed_locations('receivings');
|
||||
$stock_locations['all'] = $this->lang->line('reports_all');
|
||||
$data['stock_locations'] = array_reverse($stock_locations, TRUE);
|
||||
@@ -709,7 +695,7 @@ class Reports extends Secure_area
|
||||
|
||||
function specific_customer_input()
|
||||
{
|
||||
$data = $this->_get_common_report_data();
|
||||
$data = array();
|
||||
$data['specific_input_name'] = $this->lang->line('reports_customer');
|
||||
|
||||
$customers = array();
|
||||
@@ -759,7 +745,7 @@ class Reports extends Secure_area
|
||||
|
||||
function specific_employee_input()
|
||||
{
|
||||
$data = $this->_get_common_report_data();
|
||||
$data = array();
|
||||
$data['specific_input_name'] = $this->lang->line('reports_employee');
|
||||
|
||||
$employees = array();
|
||||
@@ -809,7 +795,7 @@ class Reports extends Secure_area
|
||||
|
||||
function specific_discount_input()
|
||||
{
|
||||
$data = $this->_get_common_report_data();
|
||||
$data = array();
|
||||
$data['specific_input_name'] = $this->lang->line('reports_discount');
|
||||
|
||||
$discounts = array();
|
||||
|
||||
@@ -1,79 +1,4 @@
|
||||
<?php
|
||||
function get_simple_date_ranges()
|
||||
{
|
||||
$CI =& get_instance();
|
||||
$CI->load->language('reports');
|
||||
|
||||
$today = date('Y-m-d');
|
||||
$today_last_year = date('Y-m-d', mktime(0,0,0,date("m"),date("d"),date("Y")-1));
|
||||
$yesterday = date('Y-m-d', mktime(0,0,0,date("m"),date("d")-1,date("Y")));
|
||||
$six_days_ago = date('Y-m-d', mktime(0,0,0,date("m"),date("d")-6,date("Y")));
|
||||
$start_of_this_month = date('Y-m-d', mktime(0,0,0,date("m"),1,date("Y")));
|
||||
$end_of_this_month = date('Y-m-d',strtotime('-1 second',strtotime('+1 month',strtotime(date('m').'/01/'.date('Y').' 00:00:00'))));
|
||||
$start_of_this_month_last_year = date('Y-m-d', mktime(0,0,0,date("m"),1,date("Y")-1));
|
||||
$end_of_this_month_last_year = date('Y-m-d',strtotime('-1 second',strtotime('+1 month',strtotime(date('m').'/01/'.(date('Y')-1).' 00:00:00'))));
|
||||
$start_of_last_month = date('Y-m-d', mktime(0,0,0,date("m")-1,1,date("Y")));
|
||||
$end_of_last_month = date('Y-m-d',strtotime('-1 second',strtotime('+1 month',strtotime((date('m') - 1).'/01/'.date('Y').' 00:00:00'))));
|
||||
$start_of_this_year = date('Y-m-d', mktime(0,0,0,1,1,date("Y")));
|
||||
$end_of_this_year = date('Y-m-d', mktime(0,0,0,12,31,date("Y")));
|
||||
$start_of_last_year = date('Y-m-d', mktime(0,0,0,1,1,date("Y")-1));
|
||||
$end_of_last_year = date('Y-m-d', mktime(0,0,0,12,31,date("Y")-1));
|
||||
$start_of_time = date('Y-m-d', 0);
|
||||
|
||||
return array(
|
||||
$today . '/' . $today => $CI->lang->line('reports_today'),
|
||||
$today_last_year . '/' . $today_last_year => $CI->lang->line('reports_today_last_year'),
|
||||
$yesterday . '/' . $yesterday => $CI->lang->line('reports_yesterday'),
|
||||
$six_days_ago . '/' . $today => $CI->lang->line('reports_last_7'),
|
||||
$start_of_this_month . '/' . $today => $CI->lang->line('reports_this_month_to_today'),
|
||||
$start_of_this_month . '/' . $end_of_this_month => $CI->lang->line('reports_this_month'),
|
||||
$start_of_this_month_last_year . '/' . $today_last_year => $CI->lang->line('reports_this_month_to_today_last_year'),
|
||||
$start_of_this_month_last_year . '/' . $end_of_this_month_last_year => $CI->lang->line('reports_this_month_last_year'),
|
||||
$start_of_last_month . '/' . $end_of_last_month => $CI->lang->line('reports_last_month'),
|
||||
$start_of_this_year . '/' . $end_of_this_year => $CI->lang->line('reports_this_year'),
|
||||
$start_of_last_year . '/' . $end_of_last_year => $CI->lang->line('reports_last_year'),
|
||||
$start_of_time . '/' . $today => $CI->lang->line('reports_all_time')
|
||||
);
|
||||
}
|
||||
|
||||
function get_months()
|
||||
{
|
||||
$months = array();
|
||||
|
||||
for($k=1;$k<=12;$k++)
|
||||
{
|
||||
$cur_month = mktime(0, 0, 0, $k, 1, 2000);
|
||||
$months[date("m", $cur_month)] = date("M",$cur_month);
|
||||
}
|
||||
|
||||
return $months;
|
||||
}
|
||||
|
||||
function get_days()
|
||||
{
|
||||
$days = array();
|
||||
|
||||
for($k=1;$k<=31;$k++)
|
||||
{
|
||||
$cur_day = mktime(0, 0, 0, 1, $k, 2000);
|
||||
$days[date('d',$cur_day)] = date('j',$cur_day);
|
||||
}
|
||||
|
||||
return $days;
|
||||
}
|
||||
|
||||
function get_years()
|
||||
{
|
||||
$years = array();
|
||||
|
||||
for($k=0;$k<10;$k++)
|
||||
{
|
||||
$years[date("Y")-$k] = date("Y")-$k;
|
||||
}
|
||||
|
||||
return $years;
|
||||
}
|
||||
|
||||
function get_random_colors($how_many)
|
||||
{
|
||||
$colors = array();
|
||||
|
||||
@@ -47,3 +47,21 @@ $lang["datepicker_monthsshort_november"] = "Nov";
|
||||
$lang["datepicker_monthsshort_december"] = "Dez";
|
||||
$lang["datepicker_today"] = "Heute";
|
||||
$lang["datepicker_weekstart"] = "1";
|
||||
$lang["datepicker_all_time"] = "Von Beginn weg";
|
||||
$lang["datepicker_last_7"] = "Letzte 7 Tage";
|
||||
$lang["datepicker_last_30"] = "Letzte 30 Tage";
|
||||
$lang["datepicker_last_month"] = "Letzter Monat";
|
||||
$lang["datepicker_last_year"] = "Letztes Jahr";
|
||||
$lang["datepicker_this_month"] = "Dieser Monat";
|
||||
$lang["datepicker_this_month_last_year"] = "Dieser Monat letzten Jahres";
|
||||
$lang["datepicker_this_month_to_today"] = "Dieser Monat bis heute";
|
||||
$lang["datepicker_this_month_to_today_last_year"] = "Dieser Monat bis Heute letzten Jahres";
|
||||
$lang["datepicker_this_year"] = "Dieses Jahr";
|
||||
$lang["datepicker_today"] = "Heute";
|
||||
$lang["datepicker_today_last_year"] = "Heute letzten Jahres";
|
||||
$lang["datepicker_yesterday"] = "Gestern";
|
||||
$lang["datepicker_apply"] = "Apply";
|
||||
$lang["datepicker_cancel"] = "Cancel";
|
||||
$lang["datepicker_from"] = "From";
|
||||
$lang["datepicker_to"] = "To";
|
||||
$lang["datepicker_custom"] = "Custom";
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
<?php
|
||||
|
||||
$lang["reports_all"] = "Alle";
|
||||
$lang["reports_all_time"] = "Von Beginn weg";
|
||||
$lang["reports_categories"] = "Kategorien";
|
||||
$lang["reports_categories_summary_report"] = "Bericht: Kategorien (summarisch)";
|
||||
$lang["reports_category"] = "Kategorie";
|
||||
@@ -38,9 +37,6 @@ $lang["reports_items"] = "Artikel";
|
||||
$lang["reports_items_purchased"] = "Gekaufte Artikel";
|
||||
$lang["reports_items_received"] = "Erhaltene Artikel";
|
||||
$lang["reports_items_summary_report"] = "Bericht: Artikel (summarisch)";
|
||||
$lang["reports_last_7"] = "Letzte 7 Tage";
|
||||
$lang["reports_last_month"] = "Letzter Monat";
|
||||
$lang["reports_last_year"] = "Letztes Jahr";
|
||||
$lang["reports_low_inventory"] = "Lager mit Unterbestand";
|
||||
$lang["reports_low_inventory_report"] = "Bericht: Inventar";
|
||||
$lang["reports_name"] = "Name";
|
||||
@@ -88,17 +84,9 @@ $lang["reports_tax"] = "MWSt";
|
||||
$lang["reports_tax_percent"] = "MWSt %";
|
||||
$lang["reports_taxes"] = "Steuern";
|
||||
$lang["reports_taxes_summary_report"] = "Bericht: Steuern (summarisch)";
|
||||
$lang["reports_this_month"] = "Dieser Monat";
|
||||
$lang["reports_this_month_last_year"] = "Dieser Monat letzten Jahres";
|
||||
$lang["reports_this_month_to_today"] = "Dieser Monat bis heute";
|
||||
$lang["reports_this_month_to_today_last_year"] = "Dieser Monat bis Heute letzten Jahres";
|
||||
$lang["reports_this_year"] = "Dieses Jahr";
|
||||
$lang["reports_today"] = "Heute";
|
||||
$lang["reports_today_last_year"] = "Heute letzten Jahres";
|
||||
$lang["reports_total"] = "Total";
|
||||
$lang["reports_type"] = "Typ";
|
||||
$lang["reports_welcome_message"] = "Willkommen bei Berichtsmodul";
|
||||
$lang["reports_yesterday"] = "Gestern";
|
||||
$lang["reports_item_count"] = "Filter nach Artikelzahl";
|
||||
$lang["reports_cost_price"] = "Einstandspreis";
|
||||
$lang["reports_unit_price"] = "Verkaufspreis";
|
||||
|
||||
@@ -47,3 +47,21 @@ $lang["datepicker_monthsshort_november"] = "Nov";
|
||||
$lang["datepicker_monthsshort_december"] = "Dec";
|
||||
$lang["datepicker_today"] = "Today";
|
||||
$lang["datepicker_weekstart"] = "0";
|
||||
$lang["datepicker_all_time"] = "All Time";
|
||||
$lang["datepicker_last_7"] = "Last 7 Days";
|
||||
$lang["datepicker_last_30"] = "Last 30 Days";
|
||||
$lang["datepicker_last_month"] = "Last Month";
|
||||
$lang["datepicker_last_year"] = "Last Year";
|
||||
$lang["datepicker_this_month"] = "This Month";
|
||||
$lang["datepicker_this_month_last_year"] = "This Month Last Year";
|
||||
$lang["datepicker_this_month_to_today"] = "This Month To Today";
|
||||
$lang["datepicker_this_month_to_today_last_year"] = "This Month To Today Last Year";
|
||||
$lang["datepicker_this_year"] = "This Year";
|
||||
$lang["datepicker_today"] = "Today";
|
||||
$lang["datepicker_today_last_year"] = "Today Last Year";
|
||||
$lang["datepicker_yesterday"] = "Yesterday";
|
||||
$lang["datepicker_apply"] = "Apply";
|
||||
$lang["datepicker_cancel"] = "Cancel";
|
||||
$lang["datepicker_from"] = "From";
|
||||
$lang["datepicker_to"] = "To";
|
||||
$lang["datepicker_custom"] = "Custom";
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
<?php
|
||||
|
||||
$lang["reports_all"] = "All";
|
||||
$lang["reports_all_time"] = "All Time";
|
||||
$lang["reports_categories"] = "Categories";
|
||||
$lang["reports_categories_summary_report"] = "Categories Summary Report";
|
||||
$lang["reports_category"] = "Category";
|
||||
@@ -38,9 +37,6 @@ $lang["reports_items"] = "Items";
|
||||
$lang["reports_items_purchased"] = "Items Purchased";
|
||||
$lang["reports_items_received"] = "Items Received";
|
||||
$lang["reports_items_summary_report"] = "Items Summary Report";
|
||||
$lang["reports_last_7"] = "Last 7 Days";
|
||||
$lang["reports_last_month"] = "Last Month";
|
||||
$lang["reports_last_year"] = "Last Year";
|
||||
$lang["reports_low_inventory"] = "";
|
||||
$lang["reports_low_inventory_report"] = "";
|
||||
$lang["reports_name"] = "Name";
|
||||
@@ -88,17 +84,9 @@ $lang["reports_tax"] = "Tax";
|
||||
$lang["reports_tax_percent"] = "Tax Percent";
|
||||
$lang["reports_taxes"] = "Taxes";
|
||||
$lang["reports_taxes_summary_report"] = "Taxes Summary Report";
|
||||
$lang["reports_this_month"] = "This Month";
|
||||
$lang["reports_this_month_last_year"] = "This Month Last Year";
|
||||
$lang["reports_this_month_to_today"] = "This Month To Today";
|
||||
$lang["reports_this_month_to_today_last_year"] = "This Month To Today Last Year";
|
||||
$lang["reports_this_year"] = "This Year";
|
||||
$lang["reports_today"] = "Today";
|
||||
$lang["reports_today_last_year"] = "Today Last Year";
|
||||
$lang["reports_total"] = "Total";
|
||||
$lang["reports_type"] = "Type";
|
||||
$lang["reports_welcome_message"] = "Welcome to the reports panel. Please select a report to view.";
|
||||
$lang["reports_yesterday"] = "Yesterday";
|
||||
$lang["reports_item_count"] = "Filter Item Count";
|
||||
$lang["reports_cost_price"] = "Cost Price";
|
||||
$lang["reports_unit_price"] = "Retail Price";
|
||||
|
||||
@@ -47,3 +47,21 @@ $lang["datepicker_monthsshort_november"] = "Nov";
|
||||
$lang["datepicker_monthsshort_december"] = "Dic";
|
||||
$lang["datepicker_today"] = "Hoy";
|
||||
$lang["datepicker_weekstart"] = "0";
|
||||
$lang["datepicker_all_time"] = "Todos";
|
||||
$lang["datepicker_last_7"] = "Últimos 7 Días";
|
||||
$lang["datepicker_last_30"] = "Últimos 30 Días";
|
||||
$lang["datepicker_last_month"] = "Último Mes";
|
||||
$lang["datepicker_last_year"] = "Último Año";
|
||||
$lang["datepicker_this_month"] = "Este Mes";
|
||||
$lang["datepicker_this_month_last_year"] = "This Month Last Year";
|
||||
$lang["datepicker_this_month_to_today"] = "This Month To Today";
|
||||
$lang["datepicker_this_month_to_today_last_year"] = "This Month To Today Last Year";
|
||||
$lang["datepicker_this_year"] = "Este Año";
|
||||
$lang["datepicker_today"] = "Hoy";
|
||||
$lang["datepicker_today_last_year"] = "Today Last Year";
|
||||
$lang["datepicker_yesterday"] = "Ayer";
|
||||
$lang["datepicker_apply"] = "Apply";
|
||||
$lang["datepicker_cancel"] = "Cancel";
|
||||
$lang["datepicker_from"] = "From";
|
||||
$lang["datepicker_to"] = "To";
|
||||
$lang["datepicker_custom"] = "Custom";
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
<?php
|
||||
|
||||
$lang["reports_all"] = "Todo";
|
||||
$lang["reports_all_time"] = "Todos";
|
||||
$lang["reports_categories"] = "Categorías";
|
||||
$lang["reports_categories_summary_report"] = "Reporte de Resumen de Categorías";
|
||||
$lang["reports_category"] = "Categoría";
|
||||
@@ -38,9 +37,6 @@ $lang["reports_items"] = "Artículos";
|
||||
$lang["reports_items_purchased"] = "Artículos Comprados";
|
||||
$lang["reports_items_received"] = "Artículos Recibidos";
|
||||
$lang["reports_items_summary_report"] = "Reporte de Resumen de Artículos";
|
||||
$lang["reports_last_7"] = "Últimos 7 Días";
|
||||
$lang["reports_last_month"] = "Último Mes";
|
||||
$lang["reports_last_year"] = "Último Año";
|
||||
$lang["reports_low_inventory"] = "Inventario Bajo";
|
||||
$lang["reports_low_inventory_report"] = "Reporte de Inventario Bajo";
|
||||
$lang["reports_name"] = "Nombre";
|
||||
@@ -88,17 +84,9 @@ $lang["reports_tax"] = "Impuesto";
|
||||
$lang["reports_tax_percent"] = "Porcentaje de Impuestos";
|
||||
$lang["reports_taxes"] = "Impuestos";
|
||||
$lang["reports_taxes_summary_report"] = "Reporte de Resumen de Impuestos";
|
||||
$lang["reports_this_month"] = "Este Mes";
|
||||
$lang["reports_this_month_last_year"] = "This Month Last Year";
|
||||
$lang["reports_this_month_to_today"] = "This Month To Today";
|
||||
$lang["reports_this_month_to_today_last_year"] = "This Month To Today Last Year";
|
||||
$lang["reports_this_year"] = "Este Año";
|
||||
$lang["reports_today"] = "Hoy";
|
||||
$lang["reports_today_last_year"] = "Today Last Year";
|
||||
$lang["reports_total"] = "Total";
|
||||
$lang["reports_type"] = "Tipo";
|
||||
$lang["reports_welcome_message"] = "Bienvenido(a) al panel de reportes. Selecciona un reporte para verlo.";
|
||||
$lang["reports_yesterday"] = "Ayer";
|
||||
$lang["reports_item_count"] = "Filter Item Count";
|
||||
$lang["reports_cost_price"] = "Precio de Compra";
|
||||
$lang["reports_unit_price"] = "Precio de Venta";
|
||||
|
||||
@@ -47,3 +47,21 @@ $lang["datepicker_monthsshort_november"] = "Nov";
|
||||
$lang["datepicker_monthsshort_december"] = "Dec";
|
||||
$lang["datepicker_today"] = "Aujourd'hui";
|
||||
$lang["datepicker_weekstart"] = "1";
|
||||
$lang["datepicker_all_time"] = "Depuis le début";
|
||||
$lang["datepicker_last_7"] = "Ces 7 derniers jours";
|
||||
$lang["datepicker_last_30"] = "Ces 30 derniers jours";
|
||||
$lang["datepicker_last_month"] = "Le mois dernier";
|
||||
$lang["datepicker_last_year"] = "L\'année passée";
|
||||
$lang["datepicker_this_month"] = "Ce mois";
|
||||
$lang["datepicker_this_month_last_year"] = "This Month Last Year";
|
||||
$lang["datepicker_this_month_to_today"] = "This Month To Today";
|
||||
$lang["datepicker_this_month_to_today_last_year"] = "This Month To Today Last Year";
|
||||
$lang["datepicker_this_year"] = "Cette Année";
|
||||
$lang["datepicker_today"] = "Aujourd\'hui";
|
||||
$lang["datepicker_today_last_year"] = "Today Last Year";
|
||||
$lang["datepicker_yesterday"] = "Hier";
|
||||
$lang["datepicker_apply"] = "Apply";
|
||||
$lang["datepicker_cancel"] = "Cancel";
|
||||
$lang["datepicker_from"] = "From";
|
||||
$lang["datepicker_to"] = "To";
|
||||
$lang["datepicker_custom"] = "Custom";
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
<?php
|
||||
|
||||
$lang["reports_all"] = "Tous";
|
||||
$lang["reports_all_time"] = "Depuis le début";
|
||||
$lang["reports_categories"] = "Catégories";
|
||||
$lang["reports_categories_summary_report"] = "Rapport: Résumé des Catégories";
|
||||
$lang["reports_category"] = "Catégorie";
|
||||
@@ -38,9 +37,6 @@ $lang["reports_items"] = "Items";
|
||||
$lang["reports_items_purchased"] = "Éléments Achetés";
|
||||
$lang["reports_items_received"] = "Éléments Arrivés";
|
||||
$lang["reports_items_summary_report"] = "Rapport: Résumé Items";
|
||||
$lang["reports_last_7"] = "Ces 7 derniers jours";
|
||||
$lang["reports_last_month"] = "Le mois dernier";
|
||||
$lang["reports_last_year"] = "L\'année passée";
|
||||
$lang["reports_low_inventory"] = "";
|
||||
$lang["reports_low_inventory_report"] = "";
|
||||
$lang["reports_name"] = "Nom";
|
||||
@@ -88,17 +84,9 @@ $lang["reports_tax"] = "Taxe";
|
||||
$lang["reports_tax_percent"] = "Pourcentage d\'imposition";
|
||||
$lang["reports_taxes"] = "Taxes";
|
||||
$lang["reports_taxes_summary_report"] = "Rapport: Résumé Taxes";
|
||||
$lang["reports_this_month"] = "Ce mois";
|
||||
$lang["reports_this_month_last_year"] = "This Month Last Year";
|
||||
$lang["reports_this_month_to_today"] = "This Month To Today";
|
||||
$lang["reports_this_month_to_today_last_year"] = "This Month To Today Last Year";
|
||||
$lang["reports_this_year"] = "Cette Année";
|
||||
$lang["reports_today"] = "Aujourd\'hui";
|
||||
$lang["reports_today_last_year"] = "Today Last Year";
|
||||
$lang["reports_total"] = "Total";
|
||||
$lang["reports_type"] = "Type";
|
||||
$lang["reports_welcome_message"] = "Bienvenue à la page des rapports. Veuillez sélectionner un rapport à visualiser.";
|
||||
$lang["reports_yesterday"] = "Hier";
|
||||
$lang["reports_item_count"] = "Filter Item Count";
|
||||
$lang["reports_cost_price"] = "Prix de Gros";
|
||||
$lang["reports_unit_price"] = "Prix au Détail";
|
||||
|
||||
@@ -47,3 +47,21 @@ $lang["datepicker_monthsshort_november"] = "";
|
||||
$lang["datepicker_monthsshort_december"] = "";
|
||||
$lang["datepicker_today"] = "";
|
||||
$lang["datepicker_weekstart"] = "";
|
||||
$lang["datepicker_all_time"] = "Semua Waktu";
|
||||
$lang["datepicker_last_7"] = "7 Hari Terakhir";
|
||||
$lang["datepicker_last_30"] = "30 Hari Terakhir";
|
||||
$lang["datepicker_last_month"] = "Bulan lalu";
|
||||
$lang["datepicker_last_year"] = "Tahun lalu";
|
||||
$lang["datepicker_this_month"] = "Bulan ini";
|
||||
$lang["datepicker_this_month_last_year"] = "This Month Last Year";
|
||||
$lang["datepicker_this_month_to_today"] = "This Month To Today";
|
||||
$lang["datepicker_this_month_to_today_last_year"] = "This Month To Today Last Year";
|
||||
$lang["datepicker_this_year"] = "Tahun ini";
|
||||
$lang["datepicker_today"] = "Hari ini";
|
||||
$lang["datepicker_today_last_year"] = "Today Last Year";
|
||||
$lang["datepicker_yesterday"] = "Kemarin";
|
||||
$lang["datepicker_apply"] = "Apply";
|
||||
$lang["datepicker_cancel"] = "Cancel";
|
||||
$lang["datepicker_from"] = "From";
|
||||
$lang["datepicker_to"] = "To";
|
||||
$lang["datepicker_custom"] = "Custom";
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
<?php
|
||||
|
||||
$lang["reports_all"] = "Semua";
|
||||
$lang["reports_all_time"] = "Semua Waktu";
|
||||
$lang["reports_categories"] = "Kategori";
|
||||
$lang["reports_categories_summary_report"] = "Laporan Ringkasan Kategori";
|
||||
$lang["reports_category"] = "Kategori";
|
||||
@@ -38,9 +37,6 @@ $lang["reports_items"] = "Produk/Item";
|
||||
$lang["reports_items_purchased"] = "Produk Dibeli";
|
||||
$lang["reports_items_received"] = "Barang Masuk";
|
||||
$lang["reports_items_summary_report"] = "Laporan Ringkasan Produk/Item";
|
||||
$lang["reports_last_7"] = "7 Hari Terakhir";
|
||||
$lang["reports_last_month"] = "Bulan lalu";
|
||||
$lang["reports_last_year"] = "Tahun lalu";
|
||||
$lang["reports_low_inventory"] = "Kurang Persediaan";
|
||||
$lang["reports_low_inventory_report"] = "Laporan Persediaan Kurang";
|
||||
$lang["reports_name"] = "Nama";
|
||||
@@ -69,7 +65,7 @@ $lang["reports_requisition_related_item_unit_quantity"] = "Unit Item Barang";
|
||||
$lang["reports_requisitions"] = "Laporan Permintaan";
|
||||
$lang["reports_returns"] = "Retur";
|
||||
$lang["reports_revenue"] = "Pendapatan";
|
||||
$lang["reports_sale_id"] = "ID Penjualan ";
|
||||
$lang["reports_sale_id"] = "ID Penjualan";
|
||||
$lang["reports_sale_type"] = "Jenis Penjualan";
|
||||
$lang["reports_sales"] = "Penjualan";
|
||||
$lang["reports_sales_amount"] = "Jumlah Penjualan";
|
||||
@@ -88,17 +84,9 @@ $lang["reports_tax"] = "Pajak";
|
||||
$lang["reports_tax_percent"] = "Persentase Pajak";
|
||||
$lang["reports_taxes"] = "Pajak";
|
||||
$lang["reports_taxes_summary_report"] = "Laporan Ringkasan Pajak";
|
||||
$lang["reports_this_month"] = "Bulan ini";
|
||||
$lang["reports_this_month_last_year"] = "This Month Last Year";
|
||||
$lang["reports_this_month_to_today"] = "This Month To Today";
|
||||
$lang["reports_this_month_to_today_last_year"] = "This Month To Today Last Year";
|
||||
$lang["reports_this_year"] = "Tahun ini";
|
||||
$lang["reports_today"] = "Hari ini";
|
||||
$lang["reports_today_last_year"] = "Today Last Year";
|
||||
$lang["reports_total"] = "Total";
|
||||
$lang["reports_type"] = "Tipe";
|
||||
$lang["reports_welcome_message"] = "Selamat Datang ke panel laporan. Silakan pilih laporan untuk melihat/cetak.";
|
||||
$lang["reports_yesterday"] = "Kemarin";
|
||||
$lang["reports_item_count"] = "";
|
||||
$lang["reports_cost_price"] = "Harga Pokok";
|
||||
$lang["reports_unit_price"] = "Harga Jual";
|
||||
|
||||
@@ -47,3 +47,21 @@ $lang["datepicker_monthsshort_november"] = "Nov";
|
||||
$lang["datepicker_monthsshort_december"] = "Dec";
|
||||
$lang["datepicker_today"] = "Vandaag";
|
||||
$lang["datepicker_weekstart"] = "0";
|
||||
$lang["datepicker_all_time"] = "Alle";
|
||||
$lang["datepicker_last_7"] = "Vorige 7 Dagen";
|
||||
$lang["datepicker_last_30"] = "Vorige 30 Dagen";
|
||||
$lang["datepicker_last_month"] = "Vorige Maand";
|
||||
$lang["datepicker_last_year"] = "Vorig Jaar";
|
||||
$lang["datepicker_this_month"] = "Deze Maand";
|
||||
$lang["datepicker_this_month_last_year"] = "This Month Last Year";
|
||||
$lang["datepicker_this_month_to_today"] = "This Month To Today";
|
||||
$lang["datepicker_this_month_to_today_last_year"] = "This Month To Today Last Year";
|
||||
$lang["datepicker_this_year"] = "Dit Jaar";
|
||||
$lang["datepicker_today"] = "Vandaag";
|
||||
$lang["datepicker_today_last_year"] = "Today Last Year";
|
||||
$lang["datepicker_yesterday"] = "Gisteren";
|
||||
$lang["datepicker_apply"] = "Apply";
|
||||
$lang["datepicker_cancel"] = "Cancel";
|
||||
$lang["datepicker_from"] = "From";
|
||||
$lang["datepicker_to"] = "To";
|
||||
$lang["datepicker_custom"] = "Custom";
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
<?php
|
||||
|
||||
$lang["reports_all"] = "Alle";
|
||||
$lang["reports_all_time"] = "Alle";
|
||||
$lang["reports_categories"] = "Categorieën";
|
||||
$lang["reports_categories_summary_report"] = "Rapport Overzicht Categorieën";
|
||||
$lang["reports_category"] = "Categorie";
|
||||
@@ -38,9 +37,6 @@ $lang["reports_items"] = "Producten";
|
||||
$lang["reports_items_purchased"] = "Hoeveelheid";
|
||||
$lang["reports_items_received"] = "Items Ontvangen";
|
||||
$lang["reports_items_summary_report"] = "Rapport Overzicht Producten";
|
||||
$lang["reports_last_7"] = "Vorige 7 Dagen";
|
||||
$lang["reports_last_month"] = "Vorige Maand";
|
||||
$lang["reports_last_year"] = "Vorig Jaar";
|
||||
$lang["reports_low_inventory"] = "";
|
||||
$lang["reports_low_inventory_report"] = "";
|
||||
$lang["reports_name"] = "Naam";
|
||||
@@ -88,17 +84,9 @@ $lang["reports_tax"] = "VAT";
|
||||
$lang["reports_tax_percent"] = "VAT Percentage";
|
||||
$lang["reports_taxes"] = "Belastingen";
|
||||
$lang["reports_taxes_summary_report"] = "Rapport Overzicht Belastingen";
|
||||
$lang["reports_this_month"] = "Deze Maand";
|
||||
$lang["reports_this_month_last_year"] = "This Month Last Year";
|
||||
$lang["reports_this_month_to_today"] = "This Month To Today";
|
||||
$lang["reports_this_month_to_today_last_year"] = "This Month To Today Last Year";
|
||||
$lang["reports_this_year"] = "Dit Jaar";
|
||||
$lang["reports_today"] = "Vandaag";
|
||||
$lang["reports_today_last_year"] = "Today Last Year";
|
||||
$lang["reports_total"] = "Totaal";
|
||||
$lang["reports_type"] = "Type";
|
||||
$lang["reports_welcome_message"] = "Welkom bij de rapporten. Selecteer hier een rapport.";
|
||||
$lang["reports_yesterday"] = "Gisteren";
|
||||
$lang["reports_item_count"] = "Filter Item Count";
|
||||
$lang["reports_cost_price"] = "Aankoopprijs";
|
||||
$lang["reports_unit_price"] = "Verkoopprijs";
|
||||
|
||||
@@ -47,3 +47,21 @@ $lang["datepicker_monthsshort_november"] = "";
|
||||
$lang["datepicker_monthsshort_december"] = "";
|
||||
$lang["datepicker_today"] = "";
|
||||
$lang["datepicker_weekstart"] = "";
|
||||
$lang["datepicker_all_time"] = "за все время";
|
||||
$lang["datepicker_last_7"] = "Последние 7 дней";
|
||||
$lang["datepicker_last_30"] = "Последние 30 дней";
|
||||
$lang["datepicker_last_month"] = "Последний месяц";
|
||||
$lang["datepicker_last_year"] = "в прошлом году";
|
||||
$lang["datepicker_this_month"] = "В этом месяце";
|
||||
$lang["datepicker_this_month_last_year"] = "This Month Last Year";
|
||||
$lang["datepicker_this_month_to_today"] = "This Month To Today";
|
||||
$lang["datepicker_this_month_to_today_last_year"] = "This Month To Today Last Year";
|
||||
$lang["datepicker_this_year"] = "В этом году";
|
||||
$lang["datepicker_today"] = "сегодня";
|
||||
$lang["datepicker_today_last_year"] = "Today Last Year";
|
||||
$lang["datepicker_yesterday"] = "вчера";
|
||||
$lang["datepicker_apply"] = "Apply";
|
||||
$lang["datepicker_cancel"] = "Cancel";
|
||||
$lang["datepicker_from"] = "From";
|
||||
$lang["datepicker_to"] = "To";
|
||||
$lang["datepicker_custom"] = "Custom";
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
<?php
|
||||
|
||||
$lang["reports_all"] = "все";
|
||||
$lang["reports_all_time"] = "за все время";
|
||||
$lang["reports_categories"] = "Категории";
|
||||
$lang["reports_categories_summary_report"] = "Сводный отчет Категории";
|
||||
$lang["reports_category"] = "категория";
|
||||
@@ -38,9 +37,6 @@ $lang["reports_items"] = "товары";
|
||||
$lang["reports_items_purchased"] = "купенный товары";
|
||||
$lang["reports_items_received"] = "полученные Товары";
|
||||
$lang["reports_items_summary_report"] = "Сводный отчет товары";
|
||||
$lang["reports_last_7"] = "Последние 7 дней";
|
||||
$lang["reports_last_month"] = "Последний месяц";
|
||||
$lang["reports_last_year"] = "в прошлом году";
|
||||
$lang["reports_low_inventory"] = "";
|
||||
$lang["reports_low_inventory_report"] = "";
|
||||
$lang["reports_name"] = "название";
|
||||
@@ -88,17 +84,9 @@ $lang["reports_tax"] = "налог";
|
||||
$lang["reports_tax_percent"] = "процент налога";
|
||||
$lang["reports_taxes"] = "Налоги";
|
||||
$lang["reports_taxes_summary_report"] = "Сводный отчет налоги";
|
||||
$lang["reports_this_month"] = "В этом месяце";
|
||||
$lang["reports_this_month_last_year"] = "This Month Last Year";
|
||||
$lang["reports_this_month_to_today"] = "This Month To Today";
|
||||
$lang["reports_this_month_to_today_last_year"] = "This Month To Today Last Year";
|
||||
$lang["reports_this_year"] = "В этом году";
|
||||
$lang["reports_today"] = "сегодня";
|
||||
$lang["reports_today_last_year"] = "Today Last Year";
|
||||
$lang["reports_total"] = "сумма";
|
||||
$lang["reports_type"] = "тип";
|
||||
$lang["reports_welcome_message"] = "Добро пожаловать в панель отчетов. Пожалуйста, выберите отчет для просмотра.";
|
||||
$lang["reports_yesterday"] = "вчера";
|
||||
$lang["reports_item_count"] = "Filter Item Count";
|
||||
$lang["reports_cost_price"] = "Оптовая Цена";
|
||||
$lang["reports_unit_price"] = "Розничная Цена";
|
||||
|
||||
@@ -47,3 +47,21 @@ $lang["datepicker_monthsshort_november"] = "";
|
||||
$lang["datepicker_monthsshort_december"] = "";
|
||||
$lang["datepicker_today"] = "";
|
||||
$lang["datepicker_weekstart"] = "";
|
||||
$lang["datepicker_all_time"] = "เวลาทั้งหมด";
|
||||
$lang["datepicker_last_7"] = "7 วันสุดท้าย";
|
||||
$lang["datepicker_last_30"] = "30 วันสุดท้าย";
|
||||
$lang["datepicker_last_month"] = "เดือนที่แล้ว";
|
||||
$lang["datepicker_last_year"] = "ปีที่แล้ว";
|
||||
$lang["datepicker_this_month"] = "เดือนนี้";
|
||||
$lang["datepicker_this_month_last_year"] = "This Month Last Year";
|
||||
$lang["datepicker_this_month_to_today"] = "This Month To Today";
|
||||
$lang["datepicker_this_month_to_today_last_year"] = "This Month To Today Last Year";
|
||||
$lang["datepicker_this_year"] = "ปีนี้";
|
||||
$lang["datepicker_today"] = "วันนี้";
|
||||
$lang["datepicker_today_last_year"] = "Today Last Year";
|
||||
$lang["datepicker_yesterday"] = "เมื่อวานนี้";
|
||||
$lang["datepicker_apply"] = "Apply";
|
||||
$lang["datepicker_cancel"] = "Cancel";
|
||||
$lang["datepicker_from"] = "From";
|
||||
$lang["datepicker_to"] = "To";
|
||||
$lang["datepicker_custom"] = "Custom";
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
<?php
|
||||
|
||||
$lang["reports_all"] = "ทั้งหมด";
|
||||
$lang["reports_all_time"] = "เวลาทั้งหมด";
|
||||
$lang["reports_categories"] = "หมวดหมู่";
|
||||
$lang["reports_categories_summary_report"] = "รายงานสรุปหมวดหมู่";
|
||||
$lang["reports_category"] = "หมวดหมู่";
|
||||
@@ -38,9 +37,6 @@ $lang["reports_items"] = "สินค้า";
|
||||
$lang["reports_items_purchased"] = "สินค้าที่ถูกซื้อ";
|
||||
$lang["reports_items_received"] = "สินค้าเข้า";
|
||||
$lang["reports_items_summary_report"] = "รายงานสรุปสินค้า";
|
||||
$lang["reports_last_7"] = "7 วันสุดท้าย";
|
||||
$lang["reports_last_month"] = "เดือนที่แล้ว";
|
||||
$lang["reports_last_year"] = "ปีที่แล้ว";
|
||||
$lang["reports_low_inventory"] = "";
|
||||
$lang["reports_low_inventory_report"] = "";
|
||||
$lang["reports_name"] = "ชื่อ";
|
||||
@@ -88,17 +84,9 @@ $lang["reports_tax"] = "ภาษี";
|
||||
$lang["reports_tax_percent"] = "เปอร์เซ็นภาษี";
|
||||
$lang["reports_taxes"] = "ภาษี";
|
||||
$lang["reports_taxes_summary_report"] = "รายงานสรุปภาษี";
|
||||
$lang["reports_this_month"] = "เดือนนี้";
|
||||
$lang["reports_this_month_last_year"] = "This Month Last Year";
|
||||
$lang["reports_this_month_to_today"] = "This Month To Today";
|
||||
$lang["reports_this_month_to_today_last_year"] = "This Month To Today Last Year";
|
||||
$lang["reports_this_year"] = "ปีนี้";
|
||||
$lang["reports_today"] = "วันนี้";
|
||||
$lang["reports_today_last_year"] = "Today Last Year";
|
||||
$lang["reports_total"] = "ยอดรวม";
|
||||
$lang["reports_type"] = "ชนิด";
|
||||
$lang["reports_welcome_message"] = "ยินดีต้อนรับเข้าสู่รายงาน. โปรดเลือกชนิดของรายงาน.";
|
||||
$lang["reports_yesterday"] = "เมื่อวานนี้";
|
||||
$lang["reports_item_count"] = "Filter Item Count";
|
||||
$lang["reports_cost_price"] = "ราคาทุน";
|
||||
$lang["reports_unit_price"] = "ราคาขาย";
|
||||
|
||||
@@ -47,3 +47,21 @@ $lang["datepicker_monthsshort_november"] = "";
|
||||
$lang["datepicker_monthsshort_december"] = "";
|
||||
$lang["datepicker_today"] = "";
|
||||
$lang["datepicker_weekstart"] = "";
|
||||
$lang["datepicker_all_time"] = "Tüm Zamanlar";
|
||||
$lang["datepicker_last_7"] = "Son 7 Gün";
|
||||
$lang["datepicker_last_30"] = "Son 30 Gün";
|
||||
$lang["datepicker_last_month"] = "Geçen Ay";
|
||||
$lang["datepicker_last_year"] = "Geçen Yıl";
|
||||
$lang["datepicker_this_month"] = "Bu Ay";
|
||||
$lang["datepicker_this_month_last_year"] = "This Month Last Year";
|
||||
$lang["datepicker_this_month_to_today"] = "This Month To Today";
|
||||
$lang["datepicker_this_month_to_today_last_year"] = "This Month To Today Last Year";
|
||||
$lang["datepicker_this_year"] = "Bu Yıl";
|
||||
$lang["datepicker_today"] = "Bugün";
|
||||
$lang["datepicker_today_last_year"] = "Today Last Year";
|
||||
$lang["datepicker_yesterday"] = "Dün";
|
||||
$lang["datepicker_apply"] = "Apply";
|
||||
$lang["datepicker_cancel"] = "Cancel";
|
||||
$lang["datepicker_from"] = "From";
|
||||
$lang["datepicker_to"] = "To";
|
||||
$lang["datepicker_custom"] = "Custom";
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
<?php
|
||||
|
||||
$lang["reports_all"] = "Hepsi";
|
||||
$lang["reports_all_time"] = "Tüm Zamanlar";
|
||||
$lang["reports_categories"] = "Kategoriler";
|
||||
$lang["reports_categories_summary_report"] = "Kategori Özet Raporu";
|
||||
$lang["reports_category"] = "Kategori";
|
||||
@@ -38,9 +37,6 @@ $lang["reports_items"] = "Ürünler";
|
||||
$lang["reports_items_purchased"] = "Satın Alınan Ürünler";
|
||||
$lang["reports_items_received"] = "Alınan Ürünler";
|
||||
$lang["reports_items_summary_report"] = "Ürün Özet Raporu";
|
||||
$lang["reports_last_7"] = "Son 7 Gün";
|
||||
$lang["reports_last_month"] = "Geçen Ay";
|
||||
$lang["reports_last_year"] = "Geçen Yıl";
|
||||
$lang["reports_low_inventory"] = "Düşük Stok";
|
||||
$lang["reports_low_inventory_report"] = "Düşük Stok Raporu";
|
||||
$lang["reports_name"] = "İsim";
|
||||
@@ -88,17 +84,9 @@ $lang["reports_tax"] = "Vergi";
|
||||
$lang["reports_tax_percent"] = "Vergi Oranı";
|
||||
$lang["reports_taxes"] = "Vergiler";
|
||||
$lang["reports_taxes_summary_report"] = "Vergi Özet Raporu";
|
||||
$lang["reports_this_month"] = "Bu Ay";
|
||||
$lang["reports_this_month_last_year"] = "This Month Last Year";
|
||||
$lang["reports_this_month_to_today"] = "This Month To Today";
|
||||
$lang["reports_this_month_to_today_last_year"] = "This Month To Today Last Year";
|
||||
$lang["reports_this_year"] = "Bu Yıl";
|
||||
$lang["reports_today"] = "Bugün";
|
||||
$lang["reports_today_last_year"] = "Today Last Year";
|
||||
$lang["reports_total"] = "Toplam";
|
||||
$lang["reports_type"] = "Tür";
|
||||
$lang["reports_welcome_message"] = "Rapor paneline hoş geldiniz. Görmek istediğiniz raporu seçiniz.";
|
||||
$lang["reports_yesterday"] = "Dün";
|
||||
$lang["reports_item_count"] = "Filter Stok Habis/Belum Habis/Minus";
|
||||
$lang["reports_cost_price"] = "Maliyet Fiyatı";
|
||||
$lang["reports_unit_price"] = "Satış Fiyatı";
|
||||
|
||||
@@ -47,3 +47,21 @@ $lang["datepicker_monthsshort_november"] = "";
|
||||
$lang["datepicker_monthsshort_december"] = "";
|
||||
$lang["datepicker_today"] = "";
|
||||
$lang["datepicker_weekstart"] = "";
|
||||
$lang["datepicker_all_time"] = "全部";
|
||||
$lang["datepicker_last_7"] = "過去七天";
|
||||
$lang["datepicker_last_30"] = "過去七天";
|
||||
$lang["datepicker_last_month"] = "上個月";
|
||||
$lang["datepicker_last_year"] = "去年";
|
||||
$lang["datepicker_this_month"] = "這個月";
|
||||
$lang["datepicker_this_month_last_year"] = "This Month Last Year";
|
||||
$lang["datepicker_this_month_to_today"] = "This Month To Today";
|
||||
$lang["datepicker_this_month_to_today_last_year"] = "This Month To Today Last Year";
|
||||
$lang["datepicker_this_year"] = "今年";
|
||||
$lang["datepicker_today"] = "今天";
|
||||
$lang["datepicker_today_last_year"] = "Today Last Year";
|
||||
$lang["datepicker_yesterday"] = "昨天";
|
||||
$lang["datepicker_apply"] = "Apply";
|
||||
$lang["datepicker_cancel"] = "Cancel";
|
||||
$lang["datepicker_from"] = "From";
|
||||
$lang["datepicker_to"] = "To";
|
||||
$lang["datepicker_custom"] = "Custom";
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
<?php
|
||||
|
||||
$lang["reports_all"] = "全部";
|
||||
$lang["reports_all_time"] = "全部";
|
||||
$lang["reports_categories"] = "類別";
|
||||
$lang["reports_categories_summary_report"] = "分類摘要報告";
|
||||
$lang["reports_category"] = "類別";
|
||||
@@ -38,9 +37,6 @@ $lang["reports_items"] = "產品";
|
||||
$lang["reports_items_purchased"] = "銷售產品";
|
||||
$lang["reports_items_received"] = "進貨產品";
|
||||
$lang["reports_items_summary_report"] = "產品摘要報告";
|
||||
$lang["reports_last_7"] = "過去七天";
|
||||
$lang["reports_last_month"] = "上個月";
|
||||
$lang["reports_last_year"] = "去年";
|
||||
$lang["reports_low_inventory"] = "";
|
||||
$lang["reports_low_inventory_report"] = "";
|
||||
$lang["reports_name"] = "名稱";
|
||||
@@ -88,17 +84,9 @@ $lang["reports_tax"] = "稅額";
|
||||
$lang["reports_tax_percent"] = "稅率";
|
||||
$lang["reports_taxes"] = "稅額";
|
||||
$lang["reports_taxes_summary_report"] = "稅金摘要報告";
|
||||
$lang["reports_this_month"] = "這個月";
|
||||
$lang["reports_this_month_last_year"] = "This Month Last Year";
|
||||
$lang["reports_this_month_to_today"] = "This Month To Today";
|
||||
$lang["reports_this_month_to_today_last_year"] = "This Month To Today Last Year";
|
||||
$lang["reports_this_year"] = "今年";
|
||||
$lang["reports_today"] = "今天";
|
||||
$lang["reports_today_last_year"] = "Today Last Year";
|
||||
$lang["reports_total"] = "總計";
|
||||
$lang["reports_type"] = "類型";
|
||||
$lang["reports_welcome_message"] = "歡迎使用報表系統。請選擇要查看的報表。";
|
||||
$lang["reports_yesterday"] = "昨天";
|
||||
$lang["reports_item_count"] = "Filter Item Count";
|
||||
$lang["reports_cost_price"] = "成本價";
|
||||
$lang["reports_unit_price"] = "單價";
|
||||
|
||||
96
application/views/partial/daterangepicker.php
Normal file
96
application/views/partial/daterangepicker.php
Normal file
@@ -0,0 +1,96 @@
|
||||
var start_date = <?php echo date('Y-m-d') ?>;
|
||||
var end_date = <?php echo date('Y-m-d') ?>;
|
||||
|
||||
$('#daterangepicker').daterangepicker({
|
||||
"ranges": {
|
||||
"<?php echo $this->lang->line("datepicker_today"); ?>": [
|
||||
"<?php echo date($this->config->item('dateformat'), time());?>",
|
||||
"<?php echo date($this->config->item('dateformat'), time());?>"
|
||||
],
|
||||
"<?php echo $this->lang->line("datepicker_today_last_year"); ?>": [
|
||||
"<?php echo date($this->config->item('dateformat'), mktime(0,0,0,date("m"),date("d"),date("Y")-1));?>",
|
||||
"<?php echo date($this->config->item('dateformat'), mktime(0,0,0,date("m"),date("d"),date("Y")-1));?>"
|
||||
],
|
||||
"<?php echo $this->lang->line("datepicker_yesterday"); ?>": [
|
||||
"<?php echo date($this->config->item('dateformat'), mktime(0,0,0,date("m"),date("d")-1,date("Y")));?>",
|
||||
"<?php echo date($this->config->item('dateformat'), mktime(0,0,0,date("m"),date("d")-1,date("Y")));?>"
|
||||
],
|
||||
"<?php echo $this->lang->line("datepicker_last_7"); ?>": [
|
||||
"<?php echo date($this->config->item('dateformat'), mktime(0,0,0,date("m"),date("d")-6,date("Y")));?>",
|
||||
"<?php echo date($this->config->item('dateformat'), time());?>"
|
||||
],
|
||||
"<?php echo $this->lang->line("datepicker_last_30"); ?>": [
|
||||
"<?php echo date($this->config->item('dateformat'), mktime(0,0,0,date("m"),date("d")-29,date("Y")));?>",
|
||||
"<?php echo date($this->config->item('dateformat'), time());?>"
|
||||
],
|
||||
"<?php echo $this->lang->line("datepicker_this_month"); ?>": [
|
||||
"<?php echo date($this->config->item('dateformat'), mktime(0,0,0,date("m"),1,date("Y")));?>",
|
||||
"<?php echo date($this->config->item('dateformat'), mktime(0,0,0,date("m")+1,1,date("Y"))-1);?>"
|
||||
],
|
||||
"<?php echo $this->lang->line("datepicker_this_month_to_today_last_year"); ?>": [
|
||||
"<?php echo date($this->config->item('dateformat'), mktime(0,0,0,date("m"),1,date("Y")-1));?>",
|
||||
"<?php echo date($this->config->item('dateformat'), mktime(0,0,0,date("m"),date("d"),date("Y")-1));?>"
|
||||
],
|
||||
"<?php echo $this->lang->line("datepicker_this_month_last_year"); ?>": [
|
||||
"<?php echo date($this->config->item('dateformat'), mktime(0,0,0,date("m"),1,date("Y")-1));?>",
|
||||
"<?php echo date($this->config->item('dateformat'), mktime(0,0,0,date("m")+1,1,date("Y")-1)-1);?>"
|
||||
],
|
||||
"<?php echo $this->lang->line("datepicker_last_month"); ?>": [
|
||||
"<?php echo date($this->config->item('dateformat'), mktime(0,0,0,date("m")-1,1,date("Y")));?>",
|
||||
"<?php echo date($this->config->item('dateformat'), mktime(0,0,0,date("m"),1,date("Y"))-1);?>"
|
||||
],
|
||||
"<?php echo $this->lang->line("datepicker_this_year"); ?>": [
|
||||
"<?php echo date($this->config->item('dateformat'), mktime(0,0,0,1,1,date("Y")));?>",
|
||||
"<?php echo date($this->config->item('dateformat'), mktime(0,0,0,date("m"),1,date("Y")+1)-1);?>"
|
||||
],
|
||||
"<?php echo $this->lang->line("datepicker_last_year"); ?>": [
|
||||
"<?php echo date($this->config->item('dateformat'), mktime(0,0,0,1,1,date("Y")-1));?>",
|
||||
"<?php echo date($this->config->item('dateformat'), mktime(0,0,0,1,1,date("Y"))-1);?>"
|
||||
],
|
||||
"<?php echo $this->lang->line("datepicker_all_time"); ?>": [
|
||||
"<?php echo date($this->config->item('dateformat'), mktime(0,0,0,01,01,2010));?>",
|
||||
"<?php echo date($this->config->item('dateformat'), time());?>"
|
||||
],
|
||||
},
|
||||
"locale": {
|
||||
"format": '<?php echo dateformat_momentjs($this->config->item("dateformat"))?>',
|
||||
"separator": " - ",
|
||||
"applyLabel": "<?php echo $this->lang->line("datepicker_apply"); ?>",
|
||||
"cancelLabel": "<?php echo $this->lang->line("datepicker_cancel"); ?>",
|
||||
"fromLabel": "<?php echo $this->lang->line("datepicker_from"); ?>",
|
||||
"toLabel": "<?php echo $this->lang->line("datepicker_to"); ?>",
|
||||
"customRangeLabel": "<?php echo $this->lang->line("datepicker_custom"); ?>",
|
||||
"daysOfWeek": [
|
||||
"<?php echo $this->lang->line("datepicker_daysmin_sunday"); ?>",
|
||||
"<?php echo $this->lang->line("datepicker_daysmin_monday"); ?>",
|
||||
"<?php echo $this->lang->line("datepicker_daysmin_tueday"); ?>",
|
||||
"<?php echo $this->lang->line("datepicker_daysmin_wednesday"); ?>",
|
||||
"<?php echo $this->lang->line("datepicker_daysmin_thursday"); ?>",
|
||||
"<?php echo $this->lang->line("datepicker_daysmin_friday"); ?>",
|
||||
"<?php echo $this->lang->line("datepicker_daysmin_saturday"); ?>",
|
||||
"<?php echo $this->lang->line("datepicker_daysmin_sunday"); ?>"
|
||||
],
|
||||
"monthNames": [
|
||||
"<?php echo $this->lang->line("datepicker_months_january"); ?>",
|
||||
"<?php echo $this->lang->line("datepicker_months_february"); ?>",
|
||||
"<?php echo $this->lang->line("datepicker_months_march"); ?>",
|
||||
"<?php echo $this->lang->line("datepicker_months_april"); ?>",
|
||||
"<?php echo $this->lang->line("datepicker_months_may"); ?>",
|
||||
"<?php echo $this->lang->line("datepicker_months_june"); ?>",
|
||||
"<?php echo $this->lang->line("datepicker_months_july"); ?>",
|
||||
"<?php echo $this->lang->line("datepicker_months_august"); ?>",
|
||||
"<?php echo $this->lang->line("datepicker_months_september"); ?>",
|
||||
"<?php echo $this->lang->line("datepicker_months_october"); ?>",
|
||||
"<?php echo $this->lang->line("datepicker_months_november"); ?>",
|
||||
"<?php echo $this->lang->line("datepicker_months_december"); ?>"
|
||||
],
|
||||
"firstDay": <?php echo $this->lang->line("datepicker_weekstart"); ?>
|
||||
},
|
||||
"startDate": "<?php echo date($this->config->item('dateformat'), time());?>",
|
||||
"endDate": "<?php echo date($this->config->item('dateformat'), time());?>",
|
||||
"minDate": "<?php echo date($this->config->item('dateformat'), mktime(0,0,0,01,01,2010));?>",
|
||||
"maxDate": "<?php echo date($this->config->item('dateformat'), time());?>"
|
||||
}, function(start, end, label) {
|
||||
start_date = start.format('YYYY-MM-DD');
|
||||
end_date = end.format('YYYY-MM-DD');
|
||||
});
|
||||
@@ -1,81 +1,72 @@
|
||||
<?php $this->load->view("partial/header"); ?>
|
||||
|
||||
<div id="page_title" style="margin-bottom:8px;"><?php echo $this->lang->line('reports_report_input'); ?></div>
|
||||
|
||||
<?php
|
||||
if(isset($error))
|
||||
{
|
||||
echo "<div class='alert alert-dismissible alert-danger'>".$error."</div>";
|
||||
}
|
||||
?>
|
||||
<?php echo form_open('#', array('id'=>'item_form', 'enctype'=>'multipart/form-data', 'class' => 'form-horizontal')); ?>
|
||||
|
||||
<?php echo form_open('#', array('id'=>'item_form', 'enctype'=>'multipart/form-data', 'class' => 'form-horizontal')); ?>
|
||||
<div class="form-group form-group-sm">
|
||||
<?php echo form_label($this->lang->line('reports_date_range'), 'report_date_range_label', array('class'=>'control-label col-xs-2 required')); ?>
|
||||
|
||||
<div class="col-xs-4">
|
||||
<div class="radio">
|
||||
<label>
|
||||
<input type="radio" name="report_type" id="simple_radio" value='simple' checked='checked'/>
|
||||
<?php echo form_dropdown('report_date_range_simple',$report_date_range_simple, '', 'id="report_date_range_simple" class="form-control"'); ?>
|
||||
</label>
|
||||
</div>
|
||||
<div class="radio">
|
||||
<label>
|
||||
<input type="radio" name="report_type" id="complex_radio" value='complex' />
|
||||
<?php echo form_input(array('name'=>'daterangepicker', 'class'=>'form-control input-sm', 'id'=>'daterangepicker')); ?></label>
|
||||
</div>
|
||||
<div class="col-xs-3">
|
||||
<?php echo form_input(array('name'=>'daterangepicker', 'class'=>'form-control input-sm', 'id'=>'daterangepicker')); ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php
|
||||
if($mode == 'sale')
|
||||
|
||||
<div class="form-group form-group-sm">
|
||||
<?php
|
||||
if($mode == 'sale')
|
||||
{
|
||||
?>
|
||||
<?php echo form_label($this->lang->line('reports_sale_type'), 'reports_sale_type_label', array('class'=>'required control-label col-xs-2')); ?>
|
||||
<div id='report_sale_type' class="col-xs-3">
|
||||
<?php echo form_dropdown('sale_type', array('all' => $this->lang->line('reports_all'),
|
||||
'sales' => $this->lang->line('reports_sales'),
|
||||
'returns' => $this->lang->line('reports_returns')), 'all', array('id'=>'input_type', 'class'=>'form-control')); ?>
|
||||
</div>
|
||||
<?php
|
||||
}
|
||||
elseif($mode == 'receiving')
|
||||
{
|
||||
?>
|
||||
<?php echo form_label($this->lang->line('reports_receiving_type'), 'reports_receiving_type_label', array('class'=>'required control-label col-xs-2')); ?>
|
||||
<div id='report_receiving_type' class="col-xs-3">
|
||||
<?php echo form_dropdown('receiving_type', array('all' => $this->lang->line('reports_all'),
|
||||
'receiving' => $this->lang->line('reports_receivings'),
|
||||
'returns' => $this->lang->line('reports_returns'),
|
||||
'requisitions' => $this->lang->line('reports_requisitions')), 'all', array('id'=>'input_type', 'class'=>'form-control')); ?>
|
||||
</div>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
|
||||
<?php
|
||||
if (!empty($stock_locations) && count($stock_locations) > 1)
|
||||
{
|
||||
?>
|
||||
<div class="form-group form-group-sm">
|
||||
<?php echo form_label($this->lang->line('reports_sale_type'), 'reports_sale_type_label', array('class'=>'required control-label col-xs-2')); ?>
|
||||
<div id='report_sale_type' class="col-xs-3">
|
||||
<?php echo form_dropdown('sale_type', array('all' => $this->lang->line('reports_all'),
|
||||
'sales' => $this->lang->line('reports_sales'),
|
||||
'returns' => $this->lang->line('reports_returns')), 'all', 'id="input_type" class="form-control"'); ?>
|
||||
?>
|
||||
<div class="form-group form-group-sm">
|
||||
<?php echo form_label($this->lang->line('reports_stock_location'), 'reports_stock_location_label', array('class'=>'required control-label col-xs-2')); ?>
|
||||
<div id='report_stock_location' class="col-xs-3">
|
||||
<?php echo form_dropdown('stock_location', $stock_locations, 'all', array('id'=>'location_id', 'class'=>'form-control')); ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php
|
||||
}
|
||||
elseif($mode == 'receiving')
|
||||
{
|
||||
?>
|
||||
<div class="form-group form-group-sm">
|
||||
<?php echo form_label($this->lang->line('reports_receiving_type'), 'reports_receiving_type_label', array('class'=>'required control-label col-xs-2')); ?>
|
||||
<div id='report_receiving_type' class="col-xs-3">
|
||||
<?php echo form_dropdown('receiving_type', array('all' => $this->lang->line('reports_all'),
|
||||
'receiving' => $this->lang->line('reports_receivings'),
|
||||
'returns' => $this->lang->line('reports_returns'),
|
||||
'requisitions' => $this->lang->line('reports_requisitions')), 'all', 'id="input_type" class="form-control"'); ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php
|
||||
}
|
||||
if (!empty($stock_locations) && count($stock_locations) > 1)
|
||||
{
|
||||
?>
|
||||
<div class="form-group form-group-sm">
|
||||
<?php echo form_label($this->lang->line('reports_stock_location'), 'reports_stock_location_label', array('class'=>'required control-label col-xs-2')); ?>
|
||||
<div id='report_stock_location' class="col-xs-3">
|
||||
<?php echo form_dropdown('stock_location',$stock_locations,'all','id="location_id" class="form-control"'); ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
|
||||
<?php
|
||||
<?php
|
||||
echo form_button(array(
|
||||
'name'=>'generate_report',
|
||||
'id'=>'generate_report',
|
||||
'content'=>$this->lang->line('common_submit'),
|
||||
'class'=>'btn btn-primary btn-sm')
|
||||
);
|
||||
?>
|
||||
|
||||
?>
|
||||
<?php echo form_close(); ?>
|
||||
|
||||
<?php $this->load->view("partial/footer"); ?>
|
||||
@@ -83,50 +74,25 @@ if (!empty($stock_locations) && count($stock_locations) > 1)
|
||||
<script type="text/javascript" language="javascript">
|
||||
$(document).ready(function()
|
||||
{
|
||||
var start_date, end_date;
|
||||
$('#daterangepicker').daterangepicker({
|
||||
locale: {
|
||||
format: '<?php echo dateformat_momentjs($this->config->item("dateformat"))?>'
|
||||
},
|
||||
startDate: "<?php echo date($this->config->item('dateformat'), time());?>",
|
||||
endDate: "<?php echo date($this->config->item('dateformat'), time());?>"
|
||||
}).on('apply.daterangepicker', function(ev, picker) {
|
||||
$("#complex_radio").attr("checked", "checked");
|
||||
start_date = picker.startDate.format('YYYY-MM-DD');
|
||||
end_date = picker.endDate.format('YYYY-MM-DD');
|
||||
});
|
||||
<?php $this->load->view('partial/daterangepicker'); ?>
|
||||
|
||||
$("#generate_report").click(function()
|
||||
{
|
||||
var input_type = $("#input_type").val();
|
||||
var location_id = $("#location_id").val();
|
||||
var location = window.location;
|
||||
if ($("#simple_radio").attr('checked'))
|
||||
var location = window.location + '/' + start_date + '/' + end_date;
|
||||
|
||||
if (input_type)
|
||||
{
|
||||
location += '/'+$("#report_date_range_simple option:selected").val() + '/' + input_type;
|
||||
}
|
||||
else
|
||||
{
|
||||
if(!input_type)
|
||||
{
|
||||
location += '/'+start_date + '/'+ end_date;
|
||||
}
|
||||
else
|
||||
{
|
||||
location += '/'+start_date + '/'+ end_date+ '/' + input_type;
|
||||
}
|
||||
location += '/' + input_type;
|
||||
}
|
||||
|
||||
if (location_id)
|
||||
{
|
||||
location += '/' + location_id;
|
||||
}
|
||||
|
||||
window.location = location;
|
||||
});
|
||||
|
||||
$("#report_date_range_simple").click(function()
|
||||
{
|
||||
$("#simple_radio").attr('checked', 'checked');
|
||||
});
|
||||
|
||||
});
|
||||
</script>
|
||||
@@ -1,28 +1,19 @@
|
||||
<?php $this->load->view("partial/header"); ?>
|
||||
|
||||
<div id="page_title" style="margin-bottom:8px;"><?php echo $this->lang->line('reports_report_input'); ?></div>
|
||||
|
||||
<?php
|
||||
if(isset($error))
|
||||
{
|
||||
echo "<div class='alert alert-dismissible alert-danger'>".$error."</div>";
|
||||
}
|
||||
?>
|
||||
<?php echo form_open('#', array('id'=>'item_form', 'enctype'=>'multipart/form-data', 'class' => 'form-horizontal')); ?>
|
||||
|
||||
<?php echo form_open('#', array('id'=>'item_form', 'enctype'=>'multipart/form-data', 'class' => 'form-horizontal')); ?>
|
||||
<div class="form-group form-group-sm">
|
||||
<?php echo form_label($this->lang->line('reports_date_range'), 'report_date_range_label', array('class'=>'control-label col-xs-2 required')); ?>
|
||||
|
||||
<div class="col-xs-4">
|
||||
<div class="radio">
|
||||
<label>
|
||||
<input type="radio" name="report_type" id="simple_radio" value='simple' checked='checked'/>
|
||||
<?php echo form_dropdown('report_date_range_simple',$report_date_range_simple, '', 'id="report_date_range_simple" class="form-control"'); ?>
|
||||
</label>
|
||||
</div>
|
||||
<div class="radio">
|
||||
<label>
|
||||
<input type="radio" name="report_type" id="complex_radio" value='complex' />
|
||||
<?php echo form_input(array('name'=>'daterangepicker', 'class'=>'form-control input-sm', 'id'=>'daterangepicker')); ?></label>
|
||||
</div>
|
||||
<div class="col-xs-3">
|
||||
<?php echo form_input(array('name'=>'daterangepicker', 'class'=>'form-control input-sm', 'id'=>'daterangepicker')); ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -30,14 +21,14 @@ if(isset($error))
|
||||
<?php echo form_label($this->lang->line('reports_sale_type'), 'reports_sale_type_label', array('class'=>'required control-label col-xs-2')); ?>
|
||||
<div id='report_sale_type' class="col-xs-3">
|
||||
<?php echo form_dropdown('sale_type', array('all' => $this->lang->line('reports_all'),
|
||||
'sales' => $this->lang->line('reports_sales'),
|
||||
'returns' => $this->lang->line('reports_returns')), 'all', 'id="input_type" class="form-control"'); ?>
|
||||
'sales' => $this->lang->line('reports_sales'),
|
||||
'returns' => $this->lang->line('reports_returns')), 'all', array('id'=>'input_type', 'class'=>'form-control')); ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group form-group-sm">
|
||||
<?php echo form_label($this->lang->line('common_export_excel'), 'export_excel', !empty($basic_version) ? array('class'=>'control-label required col-xs-3') : array('class'=>'control-label col-xs-2')); ?>
|
||||
<div class="col-xs-4">
|
||||
<div class="col-xs-3">
|
||||
<label class="radio-inline">
|
||||
<input type="radio" name="export_excel" id="export_excel_yes" value='1' /> <?php echo $this->lang->line('common_export_excel_yes'); ?>
|
||||
</label>
|
||||
@@ -47,15 +38,14 @@ if(isset($error))
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php
|
||||
<?php
|
||||
echo form_button(array(
|
||||
'name'=>'generate_report',
|
||||
'id'=>'generate_report',
|
||||
'content'=>$this->lang->line('common_submit'),
|
||||
'class'=>'btn btn-primary btn-sm')
|
||||
);
|
||||
?>
|
||||
|
||||
?>
|
||||
<?php echo form_close(); ?>
|
||||
|
||||
<?php $this->load->view("partial/footer"); ?>
|
||||
@@ -63,42 +53,23 @@ if(isset($error))
|
||||
<script type="text/javascript" language="javascript">
|
||||
$(document).ready(function()
|
||||
{
|
||||
var start_date, end_date;
|
||||
$('#daterangepicker').daterangepicker({
|
||||
locale: {
|
||||
format: '<?php echo dateformat_momentjs($this->config->item("dateformat"))?>'
|
||||
},
|
||||
startDate: "<?php echo date($this->config->item('dateformat'), time());?>",
|
||||
endDate: "<?php echo date($this->config->item('dateformat'), time());?>"
|
||||
}).on('apply.daterangepicker', function(ev, picker) {
|
||||
$("#complex_radio").attr("checked", "checked");
|
||||
start_date = picker.startDate.format('YYYY-MM-DD');
|
||||
end_date = picker.endDate.format('YYYY-MM-DD');
|
||||
});
|
||||
<?php $this->load->view('partial/daterangepicker'); ?>
|
||||
|
||||
$("#generate_report").click(function()
|
||||
{
|
||||
var sale_type = $("#sale_type").val();
|
||||
var export_excel = 0;
|
||||
var location = window.location + '/' + start_date + '/' + end_date + '/' + sale_type;
|
||||
|
||||
if ($("#export_excel_yes").attr('checked'))
|
||||
{
|
||||
export_excel = 1;
|
||||
}
|
||||
|
||||
if ($("#simple_radio").attr('checked'))
|
||||
{
|
||||
window.location = window.location+'/'+$("#report_date_range_simple option:selected").val() + '/'+sale_type+'/'+export_excel;
|
||||
location += '/' + 1;
|
||||
}
|
||||
else
|
||||
{
|
||||
window.location = window.location+'/'+start_date + '/'+ end_date + '/'+sale_type+'/'+ export_excel;
|
||||
location += '/' + 0;
|
||||
}
|
||||
|
||||
window.location = location;
|
||||
});
|
||||
|
||||
$("#report_date_range_simple").click(function()
|
||||
{
|
||||
$("#simple_radio").attr('checked', 'checked');
|
||||
});
|
||||
|
||||
});
|
||||
</script>
|
||||
@@ -1,5 +1,7 @@
|
||||
<?php $this->load->view("partial/header"); ?>
|
||||
|
||||
<div id="page_title" style="margin-bottom:8px;"><?php echo $this->lang->line('reports_report_input'); ?></div>
|
||||
|
||||
<?php
|
||||
if(isset($error))
|
||||
{
|
||||
@@ -8,25 +10,13 @@ if(isset($error))
|
||||
?>
|
||||
|
||||
<?php echo form_open('#', array('id'=>'item_form', 'enctype'=>'multipart/form-data', 'class' => 'form-horizontal')); ?>
|
||||
|
||||
<div class="form-group form-group-sm">
|
||||
<?php echo form_label($this->lang->line('reports_date_range'), 'report_date_range_label', array('class'=>'control-label col-xs-2 required')); ?>
|
||||
|
||||
<div class="col-xs-4">
|
||||
<div class="radio">
|
||||
<label>
|
||||
<input type="radio" name="report_type" id="simple_radio" value='simple' checked='checked'/>
|
||||
<?php echo form_dropdown('report_date_range_simple',$report_date_range_simple, '', 'id="report_date_range_simple" class="form-control"'); ?>
|
||||
</label>
|
||||
</div>
|
||||
<div class="radio">
|
||||
<label>
|
||||
<input type="radio" name="report_type" id="complex_radio" value='complex' />
|
||||
<?php echo form_input(array('name'=>'daterangepicker', 'class'=>'form-control input-sm', 'id'=>'daterangepicker')); ?></label>
|
||||
</div>
|
||||
<div class="col-xs-3">
|
||||
<?php echo form_input(array('name'=>'daterangepicker', 'class'=>'form-control input-sm', 'id'=>'daterangepicker')); ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="form-group form-group-sm" id="report_specific_input_data">
|
||||
<?php echo form_label($specific_input_name, 'specific_input_name_label', array('class'=>'required control-label col-xs-2')); ?>
|
||||
<div class="col-xs-3">
|
||||
@@ -45,7 +35,7 @@ if(isset($error))
|
||||
|
||||
<div class="form-group form-group-sm">
|
||||
<?php echo form_label($this->lang->line('common_export_excel'), 'export_excel', !empty($basic_version) ? array('class'=>'control-label required col-xs-3') : array('class'=>'control-label col-xs-2')); ?>
|
||||
<div class="col-xs-4">
|
||||
<div class="col-xs-3">
|
||||
<label class="radio-inline">
|
||||
<input type="radio" name="export_excel" id="export_excel_yes" value='1' /> <?php echo $this->lang->line('common_export_excel_yes'); ?>
|
||||
</label>
|
||||
@@ -55,15 +45,14 @@ if(isset($error))
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php
|
||||
<?php
|
||||
echo form_button(array(
|
||||
'name'=>'generate_report',
|
||||
'id'=>'generate_report',
|
||||
'content'=>$this->lang->line('common_submit'),
|
||||
'class'=>'btn btn-primary btn-sm')
|
||||
);
|
||||
?>
|
||||
|
||||
?>
|
||||
<?php echo form_close(); ?>
|
||||
|
||||
<?php $this->load->view("partial/footer"); ?>
|
||||
@@ -71,43 +60,23 @@ if(isset($error))
|
||||
<script type="text/javascript" language="javascript">
|
||||
$(document).ready(function()
|
||||
{
|
||||
var start_date, end_date;
|
||||
$('#daterangepicker').daterangepicker({
|
||||
locale: {
|
||||
format: '<?php echo dateformat_momentjs($this->config->item("dateformat"))?>'
|
||||
},
|
||||
startDate: "<?php echo date($this->config->item('dateformat'), time());?>",
|
||||
endDate: "<?php echo date($this->config->item('dateformat'), time());?>"
|
||||
}).on('apply.daterangepicker', function(ev, picker) {
|
||||
$("#complex_radio").attr("checked", "checked");
|
||||
start_date = picker.startDate.format('YYYY-MM-DD');
|
||||
end_date = picker.endDate.format('YYYY-MM-DD');
|
||||
});
|
||||
<?php $this->load->view('partial/daterangepicker'); ?>
|
||||
|
||||
$("#generate_report").click(function()
|
||||
{
|
||||
var sale_type = $("#sale_type").val();
|
||||
var export_excel = 0;
|
||||
var location = window.location + '/' + start_date + '/' + end_date + '/' + $('#specific_input_data').val() + '/' + sale_type;
|
||||
|
||||
if ($("#export_excel_yes").attr('checked'))
|
||||
{
|
||||
export_excel = 1;
|
||||
}
|
||||
|
||||
if ($("#simple_radio").attr('checked'))
|
||||
{
|
||||
window.location = window.location+'/'+$("#report_date_range_simple option:selected").val()+ '/' + $('#specific_input_data').val() + '/' + sale_type
|
||||
+ '/' + export_excel;
|
||||
location += '/' + 1;
|
||||
}
|
||||
else
|
||||
{
|
||||
window.location = window.location+'/'+start_date + '/'+ end_date + '/' + $('#specific_input_data').val() + '/' + sale_type + '/'+ export_excel;
|
||||
location += '/' + 0;
|
||||
}
|
||||
|
||||
window.location = location;
|
||||
});
|
||||
|
||||
$("#report_date_range_simple").click(function()
|
||||
{
|
||||
$("#simple_radio").attr('checked', 'checked');
|
||||
});
|
||||
|
||||
});
|
||||
</script>
|
||||
@@ -46,3 +46,21 @@ datepicker_monthsshort_november,Nov,Nov,Nov,Nov,Nov,,,,,
|
||||
datepicker_monthsshort_december,Dez,Dec,Dic,Dec,Dec,,,,,
|
||||
datepicker_today,Heute,Vandaag,Hoy,Today,Aujourd'hui,,,,,
|
||||
datepicker_weekstart,1,0,0,0,1,,,,,
|
||||
datepicker_all_time,Von Beginn weg,Alle,Todos,All Time,Depuis le début,全部,за все время,เวลาทั้งหมด,Tüm Zamanlar,Semua Waktu
|
||||
datepicker_last_7,Letzte 7 Tage,Vorige 7 Dagen,Últimos 7 Días,Last 7 Days,Ces 7 derniers jours,過去七天,Последние 7 дней,7 วันสุดท้าย,Son 7 Gün,7 Hari Terakhir
|
||||
datepicker_last_30,Letzte 30 Tage,Vorige 30 Dagen,Últimos 30 Días,Last 30 Days,Ces 30 derniers jours,過去七天,Последние 30 дней,30 วันสุดท้าย,Son 30 Gün,30 Hari Terakhir
|
||||
datepicker_last_month,Letzter Monat,Vorige Maand,Último Mes,Last Month,Le mois dernier,上個月,Последний месяц,เดือนที่แล้ว,Geçen Ay,Bulan lalu
|
||||
datepicker_last_year,Letztes Jahr,Vorig Jaar,Último Año,Last Year,L\'année passée,去年,в прошлом году,ปีที่แล้ว,Geçen Yıl,Tahun lalu
|
||||
datepicker_this_month,Dieser Monat,Deze Maand,Este Mes,This Month,Ce mois,這個月,В этом месяце,เดือนนี้,Bu Ay,Bulan ini
|
||||
datepicker_this_month_last_year,Dieser Monat letzten Jahres,This Month Last Year,This Month Last Year,This Month Last Year,This Month Last Year,This Month Last Year,This Month Last Year,This Month Last Year,This Month Last Year,This Month Last Year
|
||||
datepicker_this_month_to_today,Dieser Monat bis heute,This Month To Today,This Month To Today,This Month To Today,This Month To Today,This Month To Today,This Month To Today,This Month To Today,This Month To Today,This Month To Today
|
||||
datepicker_this_month_to_today_last_year,Dieser Monat bis Heute letzten Jahres,This Month To Today Last Year,This Month To Today Last Year,This Month To Today Last Year,This Month To Today Last Year,This Month To Today Last Year,This Month To Today Last Year,This Month To Today Last Year,This Month To Today Last Year,This Month To Today Last Year
|
||||
datepicker_this_year,Dieses Jahr,Dit Jaar,Este Año,This Year,Cette Année,今年,В этом году,ปีนี้,Bu Yıl,Tahun ini
|
||||
datepicker_today,Heute,Vandaag,Hoy,Today,Aujourd\'hui,今天,сегодня,วันนี้,Bugün,Hari ini
|
||||
datepicker_today_last_year,Heute letzten Jahres,Today Last Year,Today Last Year,Today Last Year,Today Last Year,Today Last Year,Today Last Year,Today Last Year,Today Last Year,Today Last Year
|
||||
datepicker_yesterday,Gestern,Gisteren,Ayer,Yesterday,Hier,昨天,вчера,เมื่อวานนี้,Dün,Kemarin
|
||||
datepicker_apply,Apply,Apply,Apply,Apply,Apply,Apply,Apply,Apply,Apply,Apply
|
||||
datepicker_cancel,Cancel,Cancel,Cancel,Cancel,Cancel,Cancel,Cancel,Cancel,Cancel,Cancel
|
||||
datepicker_from,From,From,From,From,From,From,From,From,From,From
|
||||
datepicker_to,To,To,To,To,To,To,To,To,To,To
|
||||
datepicker_custom,Custom,Custom,Custom,Custom,Custom,Custom,Custom,Custom,Custom,Custom
|
||||
|
||||
|
@@ -1,6 +1,5 @@
|
||||
label,de-CH,nl-BE,es,en,fr,zh,ru,th,tr,id
|
||||
reports_all,Alle,Alle,Todo,All,Tous,全部,все,ทั้งหมด,Hepsi,Semua
|
||||
reports_all_time,Von Beginn weg,Alle,Todos,All Time,Depuis le début,全部,за все время,เวลาทั้งหมด,Tüm Zamanlar,Semua Waktu
|
||||
reports_categories,Kategorien,Categorieën,Categorías,Categories,Catégories,類別,Категории,หมวดหมู่,Kategoriler,Kategori
|
||||
reports_categories_summary_report,Bericht: Kategorien (summarisch),Rapport Overzicht Categorieën,Reporte de Resumen de Categorías,Categories Summary Report,Rapport: Résumé des Catégories,分類摘要報告,Сводный отчет Категории,รายงานสรุปหมวดหมู่,Kategori Özet Raporu,Laporan Ringkasan Kategori
|
||||
reports_category,Kategorie,Categorie,Categoría,Category,Catégorie,類別,категория,หมวดหมู่,Kategori,Kategori
|
||||
@@ -37,9 +36,6 @@ reports_items,Artikel,Producten,Artículos,Items,Items,產品,товары,ส
|
||||
reports_items_purchased,Gekaufte Artikel,Hoeveelheid,Artículos Comprados,Items Purchased,Éléments Achetés,銷售產品,купенный товары,สินค้าที่ถูกซื้อ,Satın Alınan Ürünler,Produk Dibeli
|
||||
reports_items_received,Erhaltene Artikel,Items Ontvangen,Artículos Recibidos,Items Received,Éléments Arrivés,進貨產品,полученные Товары,สินค้าเข้า,Alınan Ürünler,Barang Masuk
|
||||
reports_items_summary_report,Bericht: Artikel (summarisch),Rapport Overzicht Producten,Reporte de Resumen de Artículos,Items Summary Report,Rapport: Résumé Items,產品摘要報告,Сводный отчет товары,รายงานสรุปสินค้า,Ürün Özet Raporu,Laporan Ringkasan Produk/Item
|
||||
reports_last_7,Letzte 7 Tage,Vorige 7 Dagen,Últimos 7 Días,Last 7 Days,Ces 7 derniers jours,過去七天,Последние 7 дней,7 วันสุดท้าย,Son 7 Gün,7 Hari Terakhir
|
||||
reports_last_month,Letzter Monat,Vorige Maand,Último Mes,Last Month,Le mois dernier,上個月,Последний месяц,เดือนที่แล้ว,Geçen Ay,Bulan lalu
|
||||
reports_last_year,Letztes Jahr,Vorig Jaar,Último Año,Last Year,L\'année passée,去年,в прошлом году,ปีที่แล้ว,Geçen Yıl,Tahun lalu
|
||||
reports_low_inventory,Lager mit Unterbestand,,Inventario Bajo,,,,,,Düşük Stok,Kurang Persediaan
|
||||
reports_low_inventory_report,Bericht: Inventar,,Reporte de Inventario Bajo,,,,,,Düşük Stok Raporu,Laporan Persediaan Kurang
|
||||
reports_name,Name,Naam,Nombre,Name,Nom,名稱,название,ชื่อ,İsim,Nama
|
||||
@@ -87,17 +83,9 @@ reports_tax,MWSt,VAT,Impuesto,Tax,Taxe,稅額,налог,ภาษี,Vergi,Paja
|
||||
reports_tax_percent,MWSt %,VAT Percentage,Porcentaje de Impuestos,Tax Percent,Pourcentage d\'imposition,稅率,процент налога,เปอร์เซ็นภาษี,Vergi Oranı,Persentase Pajak
|
||||
reports_taxes,Steuern,Belastingen,Impuestos,Taxes,Taxes,稅額,Налоги,ภาษี,Vergiler,Pajak
|
||||
reports_taxes_summary_report,Bericht: Steuern (summarisch),Rapport Overzicht Belastingen,Reporte de Resumen de Impuestos,Taxes Summary Report,Rapport: Résumé Taxes,稅金摘要報告,Сводный отчет налоги,รายงานสรุปภาษี,Vergi Özet Raporu,Laporan Ringkasan Pajak
|
||||
reports_this_month,Dieser Monat,Deze Maand,Este Mes,This Month,Ce mois,這個月,В этом месяце,เดือนนี้,Bu Ay,Bulan ini
|
||||
reports_this_month_last_year,Dieser Monat letzten Jahres,This Month Last Year,This Month Last Year,This Month Last Year,This Month Last Year,This Month Last Year,This Month Last Year,This Month Last Year,This Month Last Year,This Month Last Year
|
||||
reports_this_month_to_today,Dieser Monat bis heute,This Month To Today,This Month To Today,This Month To Today,This Month To Today,This Month To Today,This Month To Today,This Month To Today,This Month To Today,This Month To Today
|
||||
reports_this_month_to_today_last_year,Dieser Monat bis Heute letzten Jahres,This Month To Today Last Year,This Month To Today Last Year,This Month To Today Last Year,This Month To Today Last Year,This Month To Today Last Year,This Month To Today Last Year,This Month To Today Last Year,This Month To Today Last Year,This Month To Today Last Year
|
||||
reports_this_year,Dieses Jahr,Dit Jaar,Este Año,This Year,Cette Année,今年,В этом году,ปีนี้,Bu Yıl,Tahun ini
|
||||
reports_today,Heute,Vandaag,Hoy,Today,Aujourd\'hui,今天,сегодня,วันนี้,Bugün,Hari ini
|
||||
reports_today_last_year,Heute letzten Jahres,Today Last Year,Today Last Year,Today Last Year,Today Last Year,Today Last Year,Today Last Year,Today Last Year,Today Last Year,Today Last Year
|
||||
reports_total,Total,Totaal,Total,Total,Total,總計,сумма,ยอดรวม,Toplam,Total
|
||||
reports_type,Typ,Type,Tipo,Type,Type,類型,тип,ชนิด,Tür,Tipe
|
||||
reports_welcome_message,Willkommen bei Berichtsmodul,Welkom bij de rapporten. Selecteer hier een rapport.,Bienvenido(a) al panel de reportes. Selecciona un reporte para verlo.,Welcome to the reports panel. Please select a report to view.,Bienvenue à la page des rapports. Veuillez sélectionner un rapport à visualiser.,歡迎使用報表系統。請選擇要查看的報表。,"Добро пожаловать в панель отчетов. Пожалуйста, выберите отчет для просмотра.",ยินดีต้อนรับเข้าสู่รายงาน. โปรดเลือกชนิดของรายงาน.,Rapor paneline hoş geldiniz. Görmek istediğiniz raporu seçiniz.,Selamat Datang ke panel laporan. Silakan pilih laporan untuk melihat/cetak.
|
||||
reports_yesterday,Gestern,Gisteren,Ayer,Yesterday,Hier,昨天,вчера,เมื่อวานนี้,Dün,Kemarin
|
||||
reports_item_count,Filter nach Artikelzahl,Filter Item Count,Filter Item Count,Filter Item Count,Filter Item Count,Filter Item Count,Filter Item Count,Filter Item Count,Filter Stok Habis/Belum Habis/Minus,
|
||||
reports_cost_price,Einstandspreis,Aankoopprijs,Precio de Compra,Cost Price,Prix de Gros,成本價,Оптовая Цена,ราคาทุน,Maliyet Fiyatı,Harga Pokok
|
||||
reports_unit_price,Verkaufspreis,Verkoopprijs,Precio de Venta,Retail Price,Prix au Détail,單價,Розничная Цена,ราคาขาย,Satış Fiyatı,Harga Jual
|
||||
|
||||
|
Reference in New Issue
Block a user