From 0e108226daa3b59bcaf6f59cd53541b59179088f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcos=20Garci=CC=81a?= Date: Fri, 3 Aug 2012 14:05:28 +0200 Subject: [PATCH 1/7] FeatureNotYetAvailable wasn't being translated --- htdocs/comm/prospect/recap-prospect.php | 1 + 1 file changed, 1 insertion(+) diff --git a/htdocs/comm/prospect/recap-prospect.php b/htdocs/comm/prospect/recap-prospect.php index 32347362e09..a478ce54ecd 100644 --- a/htdocs/comm/prospect/recap-prospect.php +++ b/htdocs/comm/prospect/recap-prospect.php @@ -27,6 +27,7 @@ require_once(DOL_DOCUMENT_ROOT."/core/lib/company.lib.php"); require_once(DOL_DOCUMENT_ROOT."/compta/facture/class/facture.class.php"); $langs->load("companies"); +$langs->load('other'); if ($conf->facture->enabled) $langs->load("bills"); // Security check From 6cf97a7317869111c0ff1d5510162d97f4701628 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 3 Aug 2012 14:18:48 +0200 Subject: [PATCH 2/7] Clean dead code --- htdocs/compta/facture/class/facture.class.php | 14 -------------- htdocs/core/class/commonobject.class.php | 5 ----- 2 files changed, 19 deletions(-) diff --git a/htdocs/compta/facture/class/facture.class.php b/htdocs/compta/facture/class/facture.class.php index f8c0872c20e..5999f1fd41a 100644 --- a/htdocs/compta/facture/class/facture.class.php +++ b/htdocs/compta/facture/class/facture.class.php @@ -1930,16 +1930,6 @@ class Facture extends CommonInvoice $rangtouse = $rangmax + 1; } - // TODO A virer - // Anciens indicateurs: $price, $remise (a ne plus utiliser) - //$price = $pu; - //$remise = 0; - //if ($remise_percent > 0) - //{ - // $remise = round(($pu * $remise_percent / 100),2); - // $price = ($pu - $remise); - //} - $product_type=$type; if ($fk_product) { @@ -1980,10 +1970,6 @@ class Facture extends CommonInvoice $this->line->fk_fournprice = $fk_fournprice; $this->line->pa_ht = $pa_ht; - // TODO Ne plus utiliser - //$this->line->price=($this->type==2?-1:1)*abs($price); - //$this->line->remise=($this->type==2?-1:1)*abs($remise); - $result=$this->line->insert(); if ($result > 0) { diff --git a/htdocs/core/class/commonobject.class.php b/htdocs/core/class/commonobject.class.php index f08e8a62331..973f4882654 100644 --- a/htdocs/core/class/commonobject.class.php +++ b/htdocs/core/class/commonobject.class.php @@ -2189,11 +2189,6 @@ abstract class CommonObject { $nb=0; - //if (empty($this->table_element_line)) dol_print_error('Call hasPredefinedProducts on a class with no table_element_line property'); - - //$sql ='SELECT COUNT(rowid) FROM '.MAIN_DB_PREFIX.$this->table_element_line; - //$sql.='WHERE ...'; - //var_dump($this->lines); foreach($this->lines as $key => $val) { $qualified=0; From 5b8e8ff11b52e37d8dda4a3ee33e016284dce780 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcos=20Garci=CC=81a?= Date: Fri, 3 Aug 2012 14:24:02 +0200 Subject: [PATCH 3/7] ECM Area page title translation didn't exist --- htdocs/ecm/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/ecm/index.php b/htdocs/ecm/index.php index 42c64adf2a9..290e3610625 100644 --- a/htdocs/ecm/index.php +++ b/htdocs/ecm/index.php @@ -361,7 +361,7 @@ $moreheadjs=empty($conf->use_javascript_ajax)?"":" }); "; -llxHeader($moreheadcss.$moreheadjs,$langs->trans("ECM"),'','','','',$morejs,'',0,0); +llxHeader($moreheadcss.$moreheadjs,$langs->trans("ECMArea"),'','','','',$morejs,'',0,0); // Add sections to manage From a29205cea9e6df175eb2db7a451587553ec36398 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 3 Aug 2012 17:09:07 +0200 Subject: [PATCH 4/7] Fix: tr_TR --- htdocs/langs/tr_TR/main.lang | 1321 +++++++++++++++++----------------- 1 file changed, 660 insertions(+), 661 deletions(-) diff --git a/htdocs/langs/tr_TR/main.lang b/htdocs/langs/tr_TR/main.lang index 8273038e53b..edf0bae6e61 100755 --- a/htdocs/langs/tr_TR/main.lang +++ b/htdocs/langs/tr_TR/main.lang @@ -1,661 +1,660 @@ -/* - * Language code: tr_TR - * Manually generated - * Generation date 2012-07-04 21:40:00 - */ - -// START - Lines generated manually (2012-07-04 21:40:00). -// Reference language: en_US – main - -CHARSET=UTF-8 -DIRECTION=ltr -SeparatorDecimal=. -SeparatorThousand=, -FormatDateShort=%d/%m/%Y -FormatDateShortJava=dd/mm/yyyy -FormatDateShortJQuery=dd/mm/yy -FormatHourShort=%I:%M%p -FormatHourShortDuration=%H:%M -FormatDateTextShort=%b%d%Y -FormatDateText=%D%B%Y -FormatDateHourShort=%d/%m/%Y %I:%M%p -FormatDateHourTextShort=%b %d,%Y,%I:%M %p -FormatDateHourText=%D %B %Y,%I:%M %p -DatabaseConnection=Veritabanı bağlantısı -NoError=Hata yok -Error=Hata -ErrorFieldRequired='%s' Alanı gereklidir. -ErrorFieldFormat=%s' Alanı değeri hatalı. -ErrorFileDoesNotExists='%s' Dosyası yok -ErrorFailedToOpenFile='%s' Dosyası açılamadı -ErrorCanNotCreateDir='%s' Dizini oluşturulamıyor -ErrorCanNotReadDir='%s' Dizini okunamıyor -ErrorConstantNotDefined=%s Parametresi tanımlı değil -ErrorUnknown=Bilinmeyen hata -ErrorSQL=SQL Hatası -ErrorLogoFileNotFound='%s' Logo dosyası bulunamadı -ErrorGoToGlobalSetup='Firma/Kuruluş' ayarlarına giderek düzeltiniz. -ErrorGoToModuleSetup=Bunu düzeltmek için Modül Kurulumuna git -ErrorFailedToSendMail=Posta gönderilemedi (gönderen) -ErrorAttachedFilesDisabled=Bu sunucuda dosya ekleme engellenmiştir -ErrorFileNotUploaded=Dosya gönderilemedi. Boyutun izin verilen ençok dosya boyutunu aşmadığını denetleyin, bu dizinde yeterli boş alan olmalı ve aynı isimde başka bir dosya olmamalı. -ErrorInternalErrorDetected=Hata algılandı -ErrorNoRequestRan=Hiçbir istek yürütülmedi -ErrorWrongHostParameter=Yanlış ana parametre -ErrorYourCountryIsNotDefined=Ülkeniz tanımlı değil. Giriş-Kur-Düzenle ye git ve formu yeniden gönder. -ErrorRecordIsUsedByChild=Bu kayıt silinemedi. Bu kayıt en az bir alt kayıt tarafından kullanılmaktadır. -ErrorWrongValue=Yanlış değer -ErrorWrongValueForParameterX=Parametresi %s için yanlış değer -ErrorNoRequestInError=Hatalı istek yok -ErrorServiceUnavailableTryLater=Hizmet şu an için kullanılamıyor. Daha sonra yeniden deneyin. -ErrorDuplicateField=Benzersiz bir alanda yinelenen değer -ErrorSomeErrorWereFoundRollbackIsDone=Bazı hatalar bulundu. Değişikler geri alındı. -ErrorConfigParameterNotDefined=Parametre %s Dolibarr yapılandırma dosyasında conf.php tanımlı değil. -ErrorCantLoadUserFromDolibarrDatabase=Dolibarr veritabanında kullanıcı %s bulunamadı. -ErrorNoVATRateDefinedForSellerCountry=Hata, ülke '%s' için herhangi bir KDV oranı tanımlanmamış. -ErrorNoSocialContributionForSellerCountry=Hata, ülke %s için herhangi bir sosyal güvenlik primi türü tanımlanmış. -ErrorFailedToSaveFile=Hata, dosya kaydedilemedi. -ErrorOnlyPngJpgSupported=Hata yalnızca .Png ve .jpg görüntü dosya formatları desteklenmektedir. -ErrorImageFormatNotSupported=PHP bu biçimdeki görüntüleri dönüştürecek işlevleri desteklemez. -SeeAlso=See also %s -BackgroundColorByDefault=Varsayılan arkaplan rengi -FileWasNotUploaded= Bu ekleme için bir dosya seçildi ama henüz gönderilmedi. Bunun için “Dosya ekle” ye tıklayın. -NbOfEntries=Girişlerin sayısı -GoToWikiHelpPage=Çevrimiçi yardım oku (Internet erişimi gerekir) -GoToHelpPage=Yardım oku -RecordSaved=Kayıt kaydedildi -LevelOfFeature=Özellik düzeyleri -NotDefined=Tanımlanmamış -DefinedAndHasThisValue=Tanımlanmış ve şuna değer atanmıştır -IsNotDefined=tanımlanmamış -DolibarrInHttpAuthenticationSoPasswordUseless= Yapılandırma dosyası conf.phpda Dolibarr kimlik doğrulama modu %s a ayarlanmıştır.
Bu demektir ki; veritabanı parolası Dolibarr dışıdır, yani bu alanı değiştirmek hiçbir etki yaratmaz. -Administrator=Yönetici -Undefined=Tanımlanmamış -PasswordForgotten=Parolanızı mı unuttunuz? -SeeAbove=Yukarı bak -HomeArea=Giriş alanı -LastConnexion=Son bağlantı -PreviousConnexion=Önceki bağlantı -ConnectedOnMultiCompany=Çevreye bağlanmış -ConnectedSince=Bağlantı başlangıcı -AuthenticationMode=Doğrulama biçimi -RequestedUrl=İstenen URL -DatabaseTypeManager=Veritabanı türü yöneticisi -RequestLastAccess=Son veritabanı erişimi isteği -RequestLastAccessInError=Son veritabanı erişimi istek hatası -ReturnCodeLastAccessInError=Hatalı son veritabanı erişim kodunu göster -InformationLastAccessInError=Hatalı son veritabanı erişimi bilgisi -DolibarrHasDetectedError=Dolibarr teknik bir hata algıladı -InformationToHelpDiagnose=Bu bilgiler teşhis etmeye yardımcı olabilir -MoreInformation=Daha fazla bilgi -NotePublic=Not (Genel) -NotePrivate=Not (özel) -PrecisionUnitIsLimitedToXDecimals=Dolibarr birim fiyatlar için hassasiyeti %s ondalık olarak sınırlandırmıştır. -DoTest=Deneme -ToFilter=Süzgeç -WarningYouHaveAtLeastOneTaskLate=Uyarı, gecikme toleransını aşan en az bir var. -yes=evet -Yes=Evet -no=hayır -No=Hayır -All=Hepsi -Home=Giriş -Help=Yardım -OnlineHelp=Çevrimiçi yardım -PageWiki=Wiki sayfası -Always=Daima -Never=Asla -Under=altında -Period=Dönem -PeriodEndDate=Dönem için Bitiş tarihi -Activate=Etkinleştir -Activated=Etkin -Closed=Kapalı -Closed2=Kapalı -Enabled=Etkin -Disable=Engelli -Disabled=Engelli -Add=Ekle -AddLink=Bağlantı ekle -Update=Güncelle -AddActionToDo=Yapılacak eylem ekle -AddActionDone=Bitmiş eylem ekle -Close=Kapat -Close2=Kapat -Confirm=Onayla -ConfirmSendCardByMail=Gerçekten bu kartı posta ile %s a göndermek istiyor musunuz? -Delete=Sil -Remove=Kaldır -Resiliate=Sonlandır -Cancel=İptal -Modify=Değiştir -Edit=Düzenle -Validate=Doğrula -ToValidate=Doğrulanacak -Save=Kaydet -SaveAs=Farklı kaydet -TestConnection=Test bağlantısı -ToClone=Klonla -ConfirmClone=Klonlamak istediğiniz verileri seçin: -NoCloneOptionsSpecified= Klonlanacak hiçbir veri tanımlanmamış. -Of=ile ilgili -CopyOf=Kopyası -Show=Göster -ShowCardHere=Kartı göster -Search=Ara -SearchOf=Ara -Valid=Geçerli -Approve=Onayla -ReOpen=Yeniden aç -Upload=Dosya gönder -Select=Seç -Choose=Seç -ChooseLangage=Lütfen dilinizi seçin -Resize=Yeniden boyutlandır -Recenter=Yeniden ortala -Author=Yazar -User=Kullanıcı -Users=Kullanıcılar -Group=Grup -Groups=Gruplar -Password=Parola -PasswordRetype=Parolanızı yeniden yazın -NoteSomeFeaturesAreDisabled=Bu demoda bir çok özelliğin/modülün engelli olduğuna dikkat edin. -Name=Ad -Person=Kişi -Parameter=Parametre -Parameters=Parametreler -Value=Değer -GlobalValue=Genel değer -PersonalValue=Kişisel değer -NewValue=Yeni değer -CurrentValue=Geçerli değer -Code=Kod -Type=Tür -Language=Dil -MultiLanguage=Çoklu-dil -Note=Not -CurrentNote=Geçerli not -Title=Başlık -Label=Etiket -RefOrLabel=Ref. veya etiket -Info=Log -Family=Aile -Description=Açıklama -Designation=Açıklama -Model=Model -DefaultModel=Varsayılan model -Action=Eylem -About=Hakkında -Number=Sayı -NumberByMonth=Aya göre sayı -AmountByMonth=Aylık Tutarı -Numero=Sayı -Limit=Sınır -Limits=Sınırlar -DevelopmentTeam=Geliştirme Ekibi -Logout=Çıkış -Connection=Bağlan -Setup=Kurulum -Alert=Uyarı -Previous=Önceki -Next=Sonraki -Cards=Kartlar -Card=Kart -Now=Şimdi -Date=Tarih -DateStart=Başlangıç tarihi -DateEnd=Bitiş tarih -DateCreation=Oluşturma tarihi -DateModification=Değiştirme tarihi -DateModificationShort=Değiş. tarihi -DateLastModification=Son değiştirme tarihi -DateValidation=Doğrulama tarihi -DateClosing=Kapanış tarihi -DateDue=Vade tarihi -DateValue=Satış tarihi (valör) -DateValueShort=Satış tarihi -DateOperation=İşlem tarihi -DateOperationShort=İşl. Tarih -DateLimit=Sınır tarihi -DateRequest=İstek tarihi -DateProcess=İşleme tarihi -DatePlanShort=Planlana tarih -DateRealShort=Gerç.Tarih -DateBuild=Oluşturma tarihi raporu -DatePayment=Ödeme tarihi -DurationYear=yıl -DurationMonth=ay -DurationWeek=hafta -DurationDay=gün -DurationYears=yıl -DurationMonths=ay -DurationWeeks=hafta -DurationDays=gün -Year=Yıl -Month=Ay -Week=Hafta -Day=Gün -Hour=Saat -Minute=Dakika -Second=Saniye -Years=Yıl -Months=Ay -Days=Gün -days=gün -Hours=Saat -Minutes=Dakika -Seconds=Saniye -Today=Bugün -Yesterday=Dün -Tomorrow=Yarın -Quadri=Çeyrek -MonthOfDay=Ayın günü -HourShort=H -Rate=Oran -Bytes=Bayt -KiloBytes=Kilobayt -MegaBytes=Megabayt -GigaBytes=Gigabayt -TeraBytes=Terabayt -b=b. -Kb=Kb -Mb=Mb -Gb=Gb -Tb=Tb -Cut=Kes -Copy=Kopyala -Paste=Yapıştır -Default=Varsayılan -DefaultValue=Varsayılan değer -DefaultGlobalValue=Genel değer -Price=Fiyat -UnitPrice=Birim fiyat -UnitPriceHT=Birim fiyat (net) -UnitPriceTTC=Birim fiyat -PriceU=B.F. -PriceUHT=B.F. (net) -PriceUTTC=B.F. -Amount=Tutar -AmountInvoice=Fatura tutarı -AmountPayment=Ödeme tutarı -AmountHTShort=Tutar (net) -AmountTTCShort=Miktarı (KDV dahil) -AmountHT=Tutar (KDV hariç) -AmountTTC=Miktarı (KDV dahil) -AmountVAT=KDV tutarı -AmountLT1ES=RE Tutarı -AmountLT2ES=IRPF Tutarı -AmountTotal=Toplam tutar -AmountAverage=Ortalama tutar -PriceQtyHT=Bu miktar için fiyat (KDV hariç) -PriceQtyMinHT=Enaz miktar fiyatı (KDV hariç) -PriceQtyTTC=Bu miktar için fiyat (KDV dahil) -PriceQtyMinTTC=Enaz miktar fiyatı (KDV dahil) -Percentage=Yüzde -Total=Toplam -SubTotal=Aratoplam -TotalHTShort=Toplam (Net) -TotalTTCShort=Toplam (KDV dahil) -TotalHT=Toplam (KDV hariç) -TotalTTC=Toplam (KDV dahil) -TotalTTCToYourCredit=Alacağınız için toplam (KDV dahil) -TotalVAT=Toplam KDV -TotalLT1ES=Toplam RE -TotalLT2ES=Toplam IRPF -IncludedVAT=KDV dahil -HT= KDV hariç -TTC=KDV dahil -VAT=KDV -LT1ES=RE -LT2ES=IRPF -VATRate=KDV Oranı -Average=Ortalama -Sum=Toplam -Delta=Değişim oranı -Module=Modül -Option=Seçenek -List=Liste -FullList=Tüm liste -Statistics=İstatistikler -OtherStatistics=Diğer istatistikler -Status=Durum -Ref=Ref. -RefSupplier=Ref. tedarikçi -RefPayment=Ref. ödeme -CommercialProposals=Ticari teklifler -Comment=Yorum -Comments=Yorumlar -ActionsToDo=Yapılacak Eylemler -ActionsDone=Biten eylemler -ActionsToDoShort=Yapılacaklar -ActionsRunningshort=Başladı -ActionsDoneShort=Yapıldı -ActionNotApplicable=Uygulanamaz -ActionRunningNotStarted=Başlamadı -ActionRunningShort=Başladı -ActionDoneShort=Bitti -CompanyFoundation=Firma/Kuruluş -ContactsForCompany=Firma Kişileri -ContactsAddressesForCompany=Bu üçüncü partinin kişleri/adresleri -AddressesForCompany=Bu üçüncü partinin adresleri -ActionsOnCompany=Bu üçüncü parti hakkındaki eylemler -ActionsOnMember=Bu üye hakkındaki eylemler -NActions=%s eylemleri -NActionsLate=%s geç -Filter=Süzgeç -RemoveFilter=Süzgeç kaldır -ChartGenerated=Grafik oluşturuldu -ChartNotGenerated=Grafik oluşturulmadı -GeneratedOn=%s Oluşturuldu -Generate=Oluştur -Duration=Süre -TotalDuration=Toplam süre -Summary=Özet -MyBookmarks=Yerimlerim -OtherInformationsBoxes=Diğer bilgi kutuları -DolibarrBoard=Dolibarr kurulu -DolibarrStateBoard=İstatistikler -DolibarrWorkBoard=İş görevleri kurulu -Available=Mevcut -NotYetAvailable=Henüz mevcut değil -NotAvailable=Uygun değil -Popularity=Popülerlik -Categories=Kategoriler -Category=Kategori -By=Tarafından -From=Kimden -to=kadar -and=ve -or=veya -Other=Diğer -Others=Diğerleri -OtherInformations=Diğer Bilgiler -Quantity=Miktar -Qty=Mik -ChangedBy=Tarafından değiştirildi -ReCalculate=Yeniden hesapla -ResultOk=Başarılı -ResultKo=Başarısız -Reporting=Raporlama -Reportings=Raporlamalar -Draft=Taslak -Drafts=Taslaklar -Validated=Doğrulanmış -Opened=Açık -New=Yeni -Discount=İndirim -Unknown=Bilinmeyen -General=Genel -Size=Boyut -Received=Alınan -Paid=Ödenen -Topic=Konu -ByCompanies=Firmalara göre -ByUsers=Kullanıcılara göre -Links=Bağlantılar -Link=Bağlantı -Receipts=Makbuzlar -Rejects=Kusurlular -Preview=Önizleme -NextStep=Sonraki adım -PreviousStep=Önceki adım -Datas=Veriler -None=Hiçbiri -NoneF=Hiçbiri -Late=Geç -Photo=Resim -Photos=Resimler -AddPhoto=Resim ekle -Login=Kullanıcı -CurrentLogin=Geçerli kullanıcı -January=Ocak -February=Şubat -March=Mart -April=Nisan -May=Mayıs -June=Haziran -July=Temmuz -August=Ağustos -September=Eylül -October=Ekim -November=Kasım -December=Aralık -JanuaryMin=Ara -FebruaryMin=Şub -MarchMin=Mar -AprilMin=Nis -MayMin=May -JuneMin=Haz -JulyMin=Tem -AugustMin=Ağu -SeptemberMin=Eyl -OctoberMin=Eki -NovemberMin=Kas -DecemberMin=Ara -Month01=ocak -Month02=şubat -Month03=mart -Month04=nisan -Month05=mayıs -Month06=haziran -Month07=temmuz -Month08=ağustos -Month09=eylül -Month10=ekim -Month11=kasım -Month12=aralık -MonthShort01=oca -MonthShort02=şub -MonthShort03=mar -MonthShort04=nis -MonthShort05=may -MonthShort06=haz -MonthShort07=tem -MonthShort08=ağu -MonthShort09=eyl -MonthShort10=eki -MonthShort11=kas -MonthShort12=ara -AttachedFiles=Ekli dosya ve belgeler -FileTransferComplete=Dosya başarıyla gönderildi -DateFormatYYYYMM=YYYY-AA -DateFormatYYYYMMDD=YYYY-AA-GG -DateFormatYYYYMMDDHHMM=YYYY-AA-GG SS:SS -ReportName=Rapor Adı -ReportPeriod=Rapor dönemi -ReportDescription=Açıklama -Report=Rapor -Keyword=Anahtar kelime -Legend=Gösterge -FillTownFromZip=İli Posta Kodundan (zip) doldurun -ShowLog=Günlüğü (logu) göster -File=Dosya -Files=Dosyalar -NotAllowed=İzin verilmez -ReadPermissionNotAllowed=Okuma izni yok -AmountInCurrency=Para birimi tutarı %s -Example=Örnek -Examples=Örnekler -NoExample=Örnek yok -FindBug=Hata bul -NbOfThirdParties=Üçüncü parti sayısı -NbOfCustomers=Müşterilerin sayısı -NbOfLines=Satır sayısı -NbOfObjects=Nesne sayısı -NbOfReferers=Yönlendirenlerin sayısı -Referers=Referanslar -TotalQuantity=Toplam miktar -DateFromTo=%s den %s e kadar -DateFrom=%s den -DateUntil=%s e Kadar -Check=Denetle -Internal=İç -External=Dış -Internals=İçler -Externals=Dışlar -Warning=Uyarı -Warnings=Uyarılar -BuildPDF=PDF oluştur -RebuildPDF=Yeniden PDF oluştur -BuildDoc=Doc oluştur -RebuildDoc=Yeniden Doc oluştur -Entity=Varlık -Entities=Varlıklar -EventLogs=Günlükler (loglar) -CustomerPreview=Müşteri önizleme -SupplierPreview=Tedarikçi önizleme -AccountancyPreview=Muhasebe önizleme -ShowCustomerPreview=Müşteri önizlemeyi göster -ShowSupplierPreview=Tedarikçi önizlemeyi göster -ShowAccountancyPreview=Muhasebe önizlemeyi göster -ShowProspectPreview=Aday önizlemeyi göster -RefCustomer=Müşteri Ref. -Currency=Para birimi -InfoAdmin=Yöneticiler için bilgi -Undo=Geri al -Redo=Yinele -ExpandAll=Tümünü genişlet -UndoExpandAll=Genişletmeyi geri al -Reason=Neden -FeatureNotYetSupported=Özellik henüz desteklenmiyor -CloseWindow=Pencereyi kapat -Question=Soru -Response=Yanıt -Priority=Öncelik -SendByMail=E-posta ile gönder -MailSentBy=E-posta ile gönderildi -TextUsedInTheMessageBody=Mesaj gövdesinde yazı kullanıldı. -SendAcknowledgementByMail=Alındı bilgisini e-posta ile gönder. -NoEMail=E-posta yok -Owner=Sahibi -DetectedVersion=Belirlenen sürüm -FollowingConstantsWillBeSubstituted=Aşağıdaki değişmezler uygun değerlerin yerine konacaktır. -Refresh=Yenile -BackToList=Listeye dön -GoBack=Geri dön -CanBeModifiedIfOk=Geçerliyse değiştirilebilir -CanBeModifiedIfKo=Geçerli değilse değiştirilebilir -RecordModifiedSuccessfully=Kayıt başarıyla değiştirildi -AutomaticCode=Otomatik kod -NotManaged=Başarılamadı -FeatureDisabled=Özellik devre dışı -MoveBox=Kutu %s i taşı -Offered=Önerilen -NotEnoughPermissions=Bu eylem için izininiz yok -SessionName=Oturum adı -Method=Yöntem -Receive=Al -PartialWoman=Kısmi -PartialMan=Kısmi -TotalWoman=Toplam -TotalMan=Toplam -NeverReceived=Hiç alınmadı -Canceled=Vazgeçildi -YouCanChangeValuesForThisListFromDictionnarySetup=Bu listedeki değerleri Kurulum->Sözlük kurulumu menüsünden değiştirebilirsiniz -Color=Renk -Documents=Bağlı dosyalar -DocumentsNb=Bağlı dosyalar (%s) -Documents2=Belgeler -BuildDocuments=Oluşturulan belgeler -UploadDisabled=Gönderme engelli -MenuECM=Belgeler -MenuAWStats=AWStats -MenuMembers=Üyeler -MenuAgendaGoogle=Google gündemi -ThisLimitIsDefinedInSetup=Dolibarr sınırı (Giriş->Kurulum->Güvenlik menüsü):%s Kb, PHP sınırı:%s Kb -NoFileFound=Hiçbir belge bu dizine kaydedilmedi -CurrentUserLanguage=Geçerli dil -CurrentTheme=Geçerli tema -DisabledModules=Engelli modüller -For=İçin -ForCustomer=Müşteriler için -Signature=İmza -HidePassword= Komutu gizli parola ile göster -UnHidePassword=Gerçek komutu açık parola ile göster -Root=Kök -Informations=Bilgi -Page=Sayfa -Notes=Notlar -AddNewLine=Yeni satır ekle -AddFile=Dosya ekle -ListOfFiles=Varolan dosyaların listesi -FreeZone=Serbest metin -CloneMainAttributes=Nesneyi ana öznitelikleri ile klonla -PDFMerge=PDF Birleştir -Merge=Birleştir -PrintContentArea=Sayfa yazdırılacak ana içerik alanını göster -NoMenu=Alt menü yok -WarningYouAreInMaintenanceMode=Uyarı, bakım modundasınız, şu anda uygulamayı kullanmak için yalnızca %s girişine izin veriliyor. -CoreErrorTitle=Sistem hatası -CoreErrorMessage=Üzgünüz, bir hata oluştu. Günlükleri kontrol edin veya sistem yöneticinize başvurun. -CreditCard=Kredi kartı -FieldsWithAreMandatory=%s olan alanları zorunludur -FieldsWithIsForPublic= Üyelerin genel listelerinde %s olan alanlar gösterilir. Bunu istemiyorsanız, “genel” kutusundan işareti kaldırın. -AccordingToGeoIPDatabase=(GeoIP dönüşümüne göre) -Line=Satır -NotSupported=Desteklenmez -RequiredField=Gerekli alan -Result=Sonuç -ToTest=Denem -ValidateBefore=Bu özelliği kullanmadan önce kart doğrulanmalıdır -Visibility=Görünürlük -Private=Özel -Hidden=Gizli -Resources=Kaynaklar -Source=Kaynak -Prefix=Önek -Before=Önce -After=Sonra -IPAddress=IP adresi -Frequency=Frekans -IM=Anlık mesajlaşma -NewAttribute=Yeni bir öznitelik -AttributeCode=Öznitelik kodu -OptionalFieldsSetup=Ekstra öznitelik ayarları -URLPhoto=Fotoğrafın/logonun url si -SetLinkToThirdParty=Başka bir üçüncü parti bağlantısı -CreateDraft=Taslak oluştur -ClickToEdit=Düzenlemek için tıklayın -ObjectDeleted=Nesne %s silindi -ByCountry=Ülkeye göre -ByTown=İlçeye göre -ByDate=Tarihe göre -ByMonthYear=Ay/yıl olarak -ByYear=Yıla göre -ByMonth=Aya göre -ByDay=Güne göre -BySalesRepresentative=Satış temsilcisine göre - -# Week day -Monday=Pazartesi -Tuesday=Salı -Wednesday=Çarşamba -Thursday=Perşembe -Friday=Cuma -Saturday=Cumartesi -Sunday=Pazar -MondayMin=Pt -TuesdayMin=Sa -WednesdayMin=Ça -ThursdayMin=Pe -FridayMin=Cu -SaturdayMin=Ct -SundayMin=Pa -Day1=Pazartesi -Day2=Salı -Day3=Çarşamba -Day4=Perşembe -Day5=Cuma -Day6=Cumartesi -Day0=Pazar -ShortMonday=Pt -ShortTuesday=Sa -ShortWednesday=Ça -ShortThursday=Pe -ShortFriday=Cu -ShortSaturday=Ct -ShortSunday=Pa -FONTFORPDF=DejaVuSans -FONTSIZEFORPDF=8 -WelcomeString=% %s Dolibarr yapılandırma dosyasında conf.php tanımlı değil. +ErrorCantLoadUserFromDolibarrDatabase=Dolibarr veritabanında kullanıcı %s bulunamadı. +ErrorNoVATRateDefinedForSellerCountry=Hata, ülke '%s' için herhangi bir KDV oranı tanımlanmamış. +ErrorNoSocialContributionForSellerCountry=Hata, ülke %s için herhangi bir sosyal güvenlik primi türü tanımlanmış. +ErrorFailedToSaveFile=Hata, dosya kaydedilemedi. +ErrorOnlyPngJpgSupported=Hata yalnızca .Png ve .jpg görüntü dosya formatları desteklenmektedir. +ErrorImageFormatNotSupported=PHP bu biçimdeki görüntüleri dönüştürecek işlevleri desteklemez. +SeeAlso=See also %s +BackgroundColorByDefault=Varsayılan arkaplan rengi +FileWasNotUploaded= Bu ekleme için bir dosya seçildi ama henüz gönderilmedi. Bunun için “Dosya ekle” ye tıklayın. +NbOfEntries=Girişlerin sayısı +GoToWikiHelpPage=Çevrimiçi yardım oku (Internet erişimi gerekir) +GoToHelpPage=Yardım oku +RecordSaved=Kayıt kaydedildi +LevelOfFeature=Özellik düzeyleri +NotDefined=Tanımlanmamış +DefinedAndHasThisValue=Tanımlanmış ve şuna değer atanmıştır +IsNotDefined=tanımlanmamış +DolibarrInHttpAuthenticationSoPasswordUseless= Yapılandırma dosyası conf.phpda Dolibarr kimlik doğrulama modu %s a ayarlanmıştır.
Bu demektir ki; veritabanı parolası Dolibarr dışıdır, yani bu alanı değiştirmek hiçbir etki yaratmaz. +Administrator=Yönetici +Undefined=Tanımlanmamış +PasswordForgotten=Parolanızı mı unuttunuz? +SeeAbove=Yukarı bak +HomeArea=Giriş alanı +LastConnexion=Son bağlantı +PreviousConnexion=Önceki bağlantı +ConnectedOnMultiCompany=Çevreye bağlanmış +ConnectedSince=Bağlantı başlangıcı +AuthenticationMode=Doğrulama biçimi +RequestedUrl=İstenen URL +DatabaseTypeManager=Veritabanı türü yöneticisi +RequestLastAccess=Son veritabanı erişimi isteği +RequestLastAccessInError=Son veritabanı erişimi istek hatası +ReturnCodeLastAccessInError=Hatalı son veritabanı erişim kodunu göster +InformationLastAccessInError=Hatalı son veritabanı erişimi bilgisi +DolibarrHasDetectedError=Dolibarr teknik bir hata algıladı +InformationToHelpDiagnose=Bu bilgiler teşhis etmeye yardımcı olabilir +MoreInformation=Daha fazla bilgi +NotePublic=Not (Genel) +NotePrivate=Not (özel) +PrecisionUnitIsLimitedToXDecimals=Dolibarr birim fiyatlar için hassasiyeti %s ondalık olarak sınırlandırmıştır. +DoTest=Deneme +ToFilter=Süzgeç +WarningYouHaveAtLeastOneTaskLate=Uyarı, gecikme toleransını aşan en az bir var. +yes=evet +Yes=Evet +no=hayır +No=Hayır +All=Hepsi +Home=Giriş +Help=Yardım +OnlineHelp=Çevrimiçi yardım +PageWiki=Wiki sayfası +Always=Daima +Never=Asla +Under=altında +Period=Dönem +PeriodEndDate=Dönem için Bitiş tarihi +Activate=Etkinleştir +Activated=Etkin +Closed=Kapalı +Closed2=Kapalı +Enabled=Etkin +Disable=Engelli +Disabled=Engelli +Add=Ekle +AddLink=Bağlantı ekle +Update=Güncelle +AddActionToDo=Yapılacak eylem ekle +AddActionDone=Bitmiş eylem ekle +Close=Kapat +Close2=Kapat +Confirm=Onayla +ConfirmSendCardByMail=Gerçekten bu kartı posta ile %s a göndermek istiyor musunuz? +Delete=Sil +Remove=Kaldır +Resiliate=Sonlandır +Cancel=İptal +Modify=Değiştir +Edit=Düzenle +Validate=Doğrula +ToValidate=Doğrulanacak +Save=Kaydet +SaveAs=Farklı kaydet +TestConnection=Test bağlantısı +ToClone=Klonla +ConfirmClone=Klonlamak istediğiniz verileri seçin: +NoCloneOptionsSpecified= Klonlanacak hiçbir veri tanımlanmamış. +Of=ile ilgili +CopyOf=Kopyası +Show=Göster +ShowCardHere=Kartı göster +Search=Ara +SearchOf=Ara +Valid=Geçerli +Approve=Onayla +ReOpen=Yeniden aç +Upload=Dosya gönder +Select=Seç +Choose=Seç +ChooseLangage=Lütfen dilinizi seçin +Resize=Yeniden boyutlandır +Recenter=Yeniden ortala +Author=Yazar +User=Kullanıcı +Users=Kullanıcılar +Group=Grup +Groups=Gruplar +Password=Parola +PasswordRetype=Parolanızı yeniden yazın +NoteSomeFeaturesAreDisabled=Bu demoda bir çok özelliğin/modülün engelli olduğuna dikkat edin. +Name=Ad +Person=Kişi +Parameter=Parametre +Parameters=Parametreler +Value=Değer +GlobalValue=Genel değer +PersonalValue=Kişisel değer +NewValue=Yeni değer +CurrentValue=Geçerli değer +Code=Kod +Type=Tür +Language=Dil +MultiLanguage=Çoklu-dil +Note=Not +CurrentNote=Geçerli not +Title=Başlık +Label=Etiket +RefOrLabel=Ref. veya etiket +Info=Log +Family=Aile +Description=Açıklama +Designation=Açıklama +Model=Model +DefaultModel=Varsayılan model +Action=Eylem +About=Hakkında +Number=Sayı +NumberByMonth=Aya göre sayı +AmountByMonth=Aylık Tutarı +Numero=Sayı +Limit=Sınır +Limits=Sınırlar +DevelopmentTeam=Geliştirme Ekibi +Logout=Çıkış +Connection=Bağlan +Setup=Kurulum +Alert=Uyarı +Previous=Önceki +Next=Sonraki +Cards=Kartlar +Card=Kart +Now=Şimdi +Date=Tarih +DateStart=Başlangıç tarihi +DateEnd=Bitiş tarih +DateCreation=Oluşturma tarihi +DateModification=Değiştirme tarihi +DateModificationShort=Değiş. tarihi +DateLastModification=Son değiştirme tarihi +DateValidation=Doğrulama tarihi +DateClosing=Kapanış tarihi +DateDue=Vade tarihi +DateValue=Satış tarihi (valör) +DateValueShort=Satış tarihi +DateOperation=İşlem tarihi +DateOperationShort=İşl. Tarih +DateLimit=Sınır tarihi +DateRequest=İstek tarihi +DateProcess=İşleme tarihi +DatePlanShort=Planlana tarih +DateRealShort=Gerç.Tarih +DateBuild=Oluşturma tarihi raporu +DatePayment=Ödeme tarihi +DurationYear=yıl +DurationMonth=ay +DurationWeek=hafta +DurationDay=gün +DurationYears=yıl +DurationMonths=ay +DurationWeeks=hafta +DurationDays=gün +Year=Yıl +Month=Ay +Week=Hafta +Day=Gün +Hour=Saat +Minute=Dakika +Second=Saniye +Years=Yıl +Months=Ay +Days=Gün +days=gün +Hours=Saat +Minutes=Dakika +Seconds=Saniye +Today=Bugün +Yesterday=Dün +Tomorrow=Yarın +Quadri=Çeyrek +MonthOfDay=Ayın günü +HourShort=H +Rate=Oran +Bytes=Bayt +KiloBytes=Kilobayt +MegaBytes=Megabayt +GigaBytes=Gigabayt +TeraBytes=Terabayt +b=b. +Kb=Kb +Mb=Mb +Gb=Gb +Tb=Tb +Cut=Kes +Copy=Kopyala +Paste=Yapıştır +Default=Varsayılan +DefaultValue=Varsayılan değer +DefaultGlobalValue=Genel değer +Price=Fiyat +UnitPrice=Birim fiyat +UnitPriceHT=Birim fiyat (net) +UnitPriceTTC=Birim fiyat +PriceU=B.F. +PriceUHT=B.F. (net) +PriceUTTC=B.F. +Amount=Tutar +AmountInvoice=Fatura tutarı +AmountPayment=Ödeme tutarı +AmountHTShort=Tutar (net) +AmountTTCShort=Miktarı (KDV dahil) +AmountHT=Tutar (KDV hariç) +AmountTTC=Miktarı (KDV dahil) +AmountVAT=KDV tutarı +AmountLT1ES=RE Tutarı +AmountLT2ES=IRPF Tutarı +AmountTotal=Toplam tutar +AmountAverage=Ortalama tutar +PriceQtyHT=Bu miktar için fiyat (KDV hariç) +PriceQtyMinHT=Enaz miktar fiyatı (KDV hariç) +PriceQtyTTC=Bu miktar için fiyat (KDV dahil) +PriceQtyMinTTC=Enaz miktar fiyatı (KDV dahil) +Percentage=Yüzde +Total=Toplam +SubTotal=Aratoplam +TotalHTShort=Toplam (Net) +TotalTTCShort=Toplam (KDV dahil) +TotalHT=Toplam (KDV hariç) +TotalTTC=Toplam (KDV dahil) +TotalTTCToYourCredit=Alacağınız için toplam (KDV dahil) +TotalVAT=Toplam KDV +TotalLT1ES=Toplam RE +TotalLT2ES=Toplam IRPF +IncludedVAT=KDV dahil +HT= KDV hariç +TTC=KDV dahil +VAT=KDV +LT1ES=RE +LT2ES=IRPF +VATRate=KDV Oranı +Average=Ortalama +Sum=Toplam +Delta=Değişim oranı +Module=Modül +Option=Seçenek +List=Liste +FullList=Tüm liste +Statistics=İstatistikler +OtherStatistics=Diğer istatistikler +Status=Durum +Ref=Ref. +RefSupplier=Ref. tedarikçi +RefPayment=Ref. ödeme +CommercialProposals=Ticari teklifler +Comment=Yorum +Comments=Yorumlar +ActionsToDo=Yapılacak Eylemler +ActionsDone=Biten eylemler +ActionsToDoShort=Yapılacaklar +ActionsRunningshort=Başladı +ActionsDoneShort=Yapıldı +ActionNotApplicable=Uygulanamaz +ActionRunningNotStarted=Başlamadı +ActionRunningShort=Başladı +ActionDoneShort=Bitti +CompanyFoundation=Firma/Kuruluş +ContactsForCompany=Firma Kişileri +ContactsAddressesForCompany=Bu üçüncü partinin kişleri/adresleri +AddressesForCompany=Bu üçüncü partinin adresleri +ActionsOnCompany=Bu üçüncü parti hakkındaki eylemler +ActionsOnMember=Bu üye hakkındaki eylemler +NActions=%s eylemleri +NActionsLate=%s geç +Filter=Süzgeç +RemoveFilter=Süzgeç kaldır +ChartGenerated=Grafik oluşturuldu +ChartNotGenerated=Grafik oluşturulmadı +GeneratedOn=%s Oluşturuldu +Generate=Oluştur +Duration=Süre +TotalDuration=Toplam süre +Summary=Özet +MyBookmarks=Yerimlerim +OtherInformationsBoxes=Diğer bilgi kutuları +DolibarrBoard=Dolibarr kurulu +DolibarrStateBoard=İstatistikler +DolibarrWorkBoard=İş görevleri kurulu +Available=Mevcut +NotYetAvailable=Henüz mevcut değil +NotAvailable=Uygun değil +Popularity=Popülerlik +Categories=Kategoriler +Category=Kategori +By=Tarafından +From=Başlama +to=Bitiş +and=ve +or=veya +Other=Diğer +Others=Diğerleri +OtherInformations=Diğer Bilgiler +Quantity=Miktar +Qty=Mik +ChangedBy=Tarafından değiştirildi +ReCalculate=Yeniden hesapla +ResultOk=Başarılı +ResultKo=Başarısız +Reporting=Raporlama +Reportings=Raporlamalar +Draft=Taslak +Drafts=Taslaklar +Validated=Doğrulanmış +Opened=Açık +New=Yeni +Discount=İndirim +Unknown=Bilinmeyen +General=Genel +Size=Boyut +Received=Alınan +Paid=Ödenen +Topic=Konu +ByCompanies=Firmalara göre +ByUsers=Kullanıcılara göre +Links=Bağlantılar +Link=Bağlantı +Receipts=Makbuzlar +Rejects=Kusurlular +Preview=Önizleme +NextStep=Sonraki adım +PreviousStep=Önceki adım +Datas=Veriler +None=Hiçbiri +NoneF=Hiçbiri +Late=Geç +Photo=Resim +Photos=Resimler +AddPhoto=Resim ekle +Login=Kullanıcı +CurrentLogin=Geçerli kullanıcı +January=Ocak +February=Şubat +March=Mart +April=Nisan +May=Mayıs +June=Haziran +July=Temmuz +August=Ağustos +September=Eylül +October=Ekim +November=Kasım +December=Aralık +JanuaryMin=Ara +FebruaryMin=Şub +MarchMin=Mar +AprilMin=Nis +MayMin=May +JuneMin=Haz +JulyMin=Tem +AugustMin=Ağu +SeptemberMin=Eyl +OctoberMin=Eki +NovemberMin=Kas +DecemberMin=Ara +Month01=ocak +Month02=şubat +Month03=mart +Month04=nisan +Month05=mayıs +Month06=haziran +Month07=temmuz +Month08=ağustos +Month09=eylül +Month10=ekim +Month11=kasım +Month12=aralık +MonthShort01=oca +MonthShort02=şub +MonthShort03=mar +MonthShort04=nis +MonthShort05=may +MonthShort06=haz +MonthShort07=tem +MonthShort08=ağu +MonthShort09=eyl +MonthShort10=eki +MonthShort11=kas +MonthShort12=ara +AttachedFiles=Ekli dosya ve belgeler +FileTransferComplete=Dosya başarıyla gönderildi +DateFormatYYYYMM=YYYY-AA +DateFormatYYYYMMDD=YYYY-AA-GG +DateFormatYYYYMMDDHHMM=YYYY-AA-GG SS:SS +ReportName=Rapor Adı +ReportPeriod=Rapor dönemi +ReportDescription=Açıklama +Report=Rapor +Keyword=Anahtar kelime +Legend=Gösterge +FillTownFromZip=İli Posta Kodundan (zip) doldurun +ShowLog=Günlüğü (logu) göster +File=Dosya +Files=Dosyalar +NotAllowed=İzin verilmez +ReadPermissionNotAllowed=Okuma izni yok +AmountInCurrency=Para birimi: %s +Example=Örnek +Examples=Örnekler +NoExample=Örnek yok +FindBug=Hata bul +NbOfThirdParties=Üçüncü parti sayısı +NbOfCustomers=Müşterilerin sayısı +NbOfLines=Satır sayısı +NbOfObjects=Nesne sayısı +NbOfReferers=Yönlendirenlerin sayısı +Referers=Referanslar +TotalQuantity=Toplam miktar +DateFromTo=%s den %s e kadar +DateFrom=%s den +DateUntil=%s e Kadar +Check=Denetle +Internal=İç +External=Dış +Internals=İçler +Externals=Dışlar +Warning=Uyarı +Warnings=Uyarılar +BuildPDF=PDF oluştur +RebuildPDF=Yeniden PDF oluştur +BuildDoc=Doc oluştur +RebuildDoc=Yeniden Doc oluştur +Entity=Varlık +Entities=Varlıklar +EventLogs=Günlükler (loglar) +CustomerPreview=Müşteri önizleme +SupplierPreview=Tedarikçi önizleme +AccountancyPreview=Muhasebe önizleme +ShowCustomerPreview=Müşteri önizlemeyi göster +ShowSupplierPreview=Tedarikçi önizlemeyi göster +ShowAccountancyPreview=Muhasebe önizlemeyi göster +ShowProspectPreview=Aday önizlemeyi göster +RefCustomer=Müşteri Ref. +Currency=Para birimi +InfoAdmin=Yöneticiler için bilgi +Undo=Geri al +Redo=Yinele +ExpandAll=Tümünü genişlet +UndoExpandAll=Genişletmeyi geri al +Reason=Neden +FeatureNotYetSupported=Özellik henüz desteklenmiyor +CloseWindow=Pencereyi kapat +Question=Soru +Response=Yanıt +Priority=Öncelik +SendByMail=E-posta ile gönder +MailSentBy=E-posta ile gönderildi +TextUsedInTheMessageBody=Mesaj gövdesinde yazı kullanıldı. +SendAcknowledgementByMail=Alındı bilgisini e-posta ile gönder. +NoEMail=E-posta yok +Owner=Sahibi +DetectedVersion=Belirlenen sürüm +FollowingConstantsWillBeSubstituted=Aşağıdaki değişmezler uygun değerlerin yerine konacaktır. +Refresh=Yenile +BackToList=Listeye dön +GoBack=Geri dön +CanBeModifiedIfOk=Geçerliyse değiştirilebilir +CanBeModifiedIfKo=Geçerli değilse değiştirilebilir +RecordModifiedSuccessfully=Kayıt başarıyla değiştirildi +AutomaticCode=Otomatik kod +NotManaged=Başarılamadı +FeatureDisabled=Özellik devre dışı +MoveBox=Kutu %s i taşı +Offered=Önerilen +NotEnoughPermissions=Bu eylem için izininiz yok +SessionName=Oturum adı +Method=Yöntem +Receive=Al +PartialWoman=Kısmi +PartialMan=Kısmi +TotalWoman=Toplam +TotalMan=Toplam +NeverReceived=Hiç alınmadı +Canceled=Vazgeçildi +YouCanChangeValuesForThisListFromDictionnarySetup=Bu listedeki değerleri Kurulum->Sözlük kurulumu menüsünden değiştirebilirsiniz +Color=Renk +Documents=Bağlı dosyalar +DocumentsNb=Bağlı dosyalar (%s) +Documents2=Belgeler +BuildDocuments=Oluşturulan belgeler +UploadDisabled=Gönderme engelli +MenuECM=Belgeler +MenuAWStats=AWStats +MenuMembers=Üyeler +MenuAgendaGoogle=Google gündemi +ThisLimitIsDefinedInSetup=Dolibarr sınırı (Giriş->Kurulum->Güvenlik menüsü):%s Kb, PHP sınırı:%s Kb +NoFileFound=Hiçbir belge bu dizine kaydedilmedi +CurrentUserLanguage=Geçerli dil +CurrentTheme=Geçerli tema +DisabledModules=Engelli modüller +For=İçin +ForCustomer=Müşteriler için +Signature=İmza +HidePassword= Komutu gizli parola ile göster +UnHidePassword=Gerçek komutu açık parola ile göster +Root=Kök +Informations=Bilgi +Page=Sayfa +Notes=Notlar +AddNewLine=Yeni satır ekle +AddFile=Dosya ekle +ListOfFiles=Varolan dosyaların listesi +FreeZone=Serbest metin +CloneMainAttributes=Nesneyi ana öznitelikleri ile klonla +PDFMerge=PDF Birleştir +Merge=Birleştir +PrintContentArea=Sayfa yazdırılacak ana içerik alanını göster +NoMenu=Alt menü yok +WarningYouAreInMaintenanceMode=Uyarı, bakım modundasınız, şu anda uygulamayı kullanmak için yalnızca %s girişine izin veriliyor. +CoreErrorTitle=Sistem hatası +CoreErrorMessage=Üzgünüz, bir hata oluştu. Günlükleri kontrol edin veya sistem yöneticinize başvurun. +CreditCard=Kredi kartı +FieldsWithAreMandatory=%s olan alanları zorunludur +FieldsWithIsForPublic= Üyelerin genel listelerinde %s olan alanlar gösterilir. Bunu istemiyorsanız, “genel” kutusundan işareti kaldırın. +AccordingToGeoIPDatabase=(GeoIP dönüşümüne göre) +Line=Satır +NotSupported=Desteklenmez +RequiredField=Gerekli alan +Result=Sonuç +ToTest=Denem +ValidateBefore=Bu özelliği kullanmadan önce kart doğrulanmalıdır +Visibility=Görünürlük +Private=Özel +Hidden=Gizli +Resources=Kaynaklar +Source=Kaynak +Prefix=Önek +Before=Önce +After=Sonra +IPAddress=IP adresi +Frequency=Frekans +IM=Anlık mesajlaşma +NewAttribute=Yeni bir öznitelik +AttributeCode=Öznitelik kodu +OptionalFieldsSetup=Ekstra öznitelik ayarları +URLPhoto=Fotoğrafın/logonun url si +SetLinkToThirdParty=Başka bir üçüncü parti bağlantısı +CreateDraft=Taslak oluştur +ClickToEdit=Düzenlemek için tıklayın +ObjectDeleted=Nesne %s silindi +ByCountry=Ülkeye göre +ByTown=İlçeye göre +ByDate=Tarihe göre +ByMonthYear=Ay/yıl olarak +ByYear=Yıla göre +ByMonth=Aya göre +ByDay=Güne göre +BySalesRepresentative=Satış temsilcisine göre + +# Week day +Monday=Pazartesi +Tuesday=Salı +Wednesday=Çarşamba +Thursday=Perşembe +Friday=Cuma +Saturday=Cumartesi +Sunday=Pazar +MondayMin=Pt +TuesdayMin=Sa +WednesdayMin=Ça +ThursdayMin=Pe +FridayMin=Cu +SaturdayMin=Ct +SundayMin=Pa +Day1=Pazartesi +Day2=Salı +Day3=Çarşamba +Day4=Perşembe +Day5=Cuma +Day6=Cumartesi +Day0=Pazar +ShortMonday=Pt +ShortTuesday=Sa +ShortWednesday=Ça +ShortThursday=Pe +ShortFriday=Cu +ShortSaturday=Ct +ShortSunday=Pa From 9f5fbe78c96cbefdd664eb0b667ca526c2e002c7 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 3 Aug 2012 18:43:30 +0200 Subject: [PATCH 5/7] Fix: Bad fix --- htdocs/install/etape1.php | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/htdocs/install/etape1.php b/htdocs/install/etape1.php index f1383f3c13f..eed2ac2921a 100644 --- a/htdocs/install/etape1.php +++ b/htdocs/install/etape1.php @@ -364,6 +364,7 @@ if (! $error && $db->connected && $action == "set") } } } + if ($error) { print "".$langs->trans("ErrorDirDoesNotExists",$main_data_dir); @@ -377,14 +378,14 @@ if (! $error && $db->connected && $action == "set") { //ODT templates require_once(DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php'); - $srcroot='./doctemplates'; + $srcroot=$main_dir.'/install/doctemplates'; $destroot=$main_data_dir.'/doctemplates'; $docs=array('thirdparties' => 'thirdparty', 'proposals' => 'proposal', 'orders' => 'order', 'invoices' => 'invoice'); - foreach($docs as $dir => $file) + foreach($docs as $cursordir => $cursorfile) { - $src=$srcroot.'/thirdparties/template_'.$file.'.odt'; - $dirodt=$destroot.'/'.$dir; - $dest=$dirodt.'/template_'.$file.'.odt'; + $src=$srcroot.'/'.$cursordir.'/template_'.$cursorfile.'.odt'; + $dirodt=$destroot.'/'.$cursordir; + $dest=$dirodt.'/template_'.$cursorfile.'.odt'; dol_mkdir($dirodt); $result=dol_copy($src,$dest,0,0); From 1307c779003b2655665e60eeba5c6b85942d139e Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 3 Aug 2012 19:05:20 +0200 Subject: [PATCH 6/7] Fix: Project validation --- htdocs/projet/class/project.class.php | 3 ++- htdocs/projet/fiche.php | 6 ++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/htdocs/projet/class/project.class.php b/htdocs/projet/class/project.class.php index d703039489b..bde9bb72bfa 100644 --- a/htdocs/projet/class/project.class.php +++ b/htdocs/projet/class/project.class.php @@ -541,7 +541,8 @@ class Project extends CommonObject if (!$error) { - $this->db->commit(); + $this->statut=1; + $this->db->commit(); return 1; } else diff --git a/htdocs/projet/fiche.php b/htdocs/projet/fiche.php index f5ea9ef0426..70cdceffff1 100644 --- a/htdocs/projet/fiche.php +++ b/htdocs/projet/fiche.php @@ -314,7 +314,7 @@ if ($action == 'confirm_clone' && $user->rights->projet->creer && GETPOST('confi } else { - $object->id=$result; + $object->fetch($result); // Load new object $action='edit'; $comefromclone=true; } @@ -494,7 +494,9 @@ else // Customer print ''.$langs->trans("Company").''; - print $form->select_company($object->societe->id,'socid','',1,1); + $text=$form->select_company($object->societe->id,'socid','',1,1); + $texthelp=$langs->trans("IfNeedToUseOhterObjectKeepEmpty"); + print $form->textwithtooltip($text.' '.img_help(),$texthelp,1); print ''; // Visibility From 0d96803937e0a52ff19ea238375973d00b40e2f3 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Fri, 3 Aug 2012 20:09:37 +0200 Subject: [PATCH 7/7] Fix: strict mode tour --- htdocs/compta/journal/purchasesjournal.php | 15 +- htdocs/compta/journal/sellsjournal.php | 34 ++-- htdocs/compta/resultat/clientfourn.php | 206 +++++++++++++-------- htdocs/compta/resultat/index.php | 70 ++++--- htdocs/core/lib/functions.lib.php | 4 +- htdocs/core/lib/report.lib.php | 7 +- 6 files changed, 219 insertions(+), 117 deletions(-) diff --git a/htdocs/compta/journal/purchasesjournal.php b/htdocs/compta/journal/purchasesjournal.php index ab3d5dcb2a1..3a96441a39b 100755 --- a/htdocs/compta/journal/purchasesjournal.php +++ b/htdocs/compta/journal/purchasesjournal.php @@ -33,6 +33,13 @@ $langs->load("companies"); $langs->load("other"); $langs->load("compta"); +$date_startmonth=GETPOST('date_startmonth'); +$date_startday=GETPOST('date_startday'); +$date_startyear=GETPOST('date_startyear'); +$date_endmonth=GETPOST('date_endmonth'); +$date_endday=GETPOST('date_endday'); +$date_endyear=GETPOST('date_endyear'); + // Protection if external user if ($user->societe_id > 0) accessforbidden(); @@ -64,8 +71,8 @@ if ($pastmonth == 0) $pastmonthyear--; } -$date_start=dol_mktime(0,0,0,$_REQUEST["date_startmonth"],$_REQUEST["date_startday"],$_REQUEST["date_startyear"]); -$date_end=dol_mktime(23,59,59,$_REQUEST["date_endmonth"],$_REQUEST["date_endday"],$_REQUEST["date_endyear"]); +$date_start=dol_mktime(0, 0, 0, $date_startmonth, $date_startday, $date_startyear); +$date_end=dol_mktime(23, 59, 59, $date_endmonth, $date_endday, $date_endyear); if (empty($date_start) || empty($date_end)) // We define date_start and date_end { @@ -73,7 +80,9 @@ if (empty($date_start) || empty($date_end)) // We define date_start and date_end } $nom=$langs->trans("PurchasesJournal"); -//$nomlink=; +$nomlink=''; +$periodlink=''; +$exportlink=''; $builddate=time(); $description=$langs->trans("DescPurchasesJournal"); $period=$form->select_date($date_start,'date_start',0,0,0,'',1,0,1).' - '.$form->select_date($date_end,'date_end',0,0,0,'',1,0,1); diff --git a/htdocs/compta/journal/sellsjournal.php b/htdocs/compta/journal/sellsjournal.php index ea3e128c567..66e76117c8f 100755 --- a/htdocs/compta/journal/sellsjournal.php +++ b/htdocs/compta/journal/sellsjournal.php @@ -34,6 +34,13 @@ $langs->load("companies"); $langs->load("other"); $langs->load("compta"); +$date_startmonth=GETPOST('date_startmonth'); +$date_startday=GETPOST('date_startday'); +$date_startyear=GETPOST('date_startyear'); +$date_endmonth=GETPOST('date_endmonth'); +$date_endday=GETPOST('date_endday'); +$date_endyear=GETPOST('date_endyear'); + // Protection if external user if ($user->societe_id > 0) accessforbidden(); @@ -66,8 +73,8 @@ if ($pastmonth == 0) $pastmonthyear--; } -$date_start=dol_mktime(0,0,0,$_REQUEST["date_startmonth"],$_REQUEST["date_startday"],$_REQUEST["date_startyear"]); -$date_end=dol_mktime(23,59,59,$_REQUEST["date_endmonth"],$_REQUEST["date_endday"],$_REQUEST["date_endyear"]); +$date_start=dol_mktime(0, 0, 0, $date_startmonth, $date_startday, $date_startyear); +$date_end=dol_mktime(23, 59, 59, $date_endmonth, $date_endday, $date_endyear); if (empty($date_start) || empty($date_end)) // We define date_start and date_end { @@ -75,7 +82,9 @@ if (empty($date_start) || empty($date_end)) // We define date_start and date_end } $nom=$langs->trans("SellsJournal"); -//$nomlink=; +$nomlink=''; +$periodlink=''; +$exportlink=''; $builddate=time(); $description=$langs->trans("DescSellsJournal"); $period=$form->select_date($date_start,'date_start',0,0,0,'',1,0,1).' - '.$form->select_date($date_end,'date_end',0,0,0,'',1,0,1); @@ -113,25 +122,28 @@ if ($result) { $obj = $db->fetch_object($result); // les variables - $cptcli = (! empty($conf->global->COMPTA_ACCOUNT_CUSTOMER))?$conf->global->COMPTA_ACCOUNT_CUSTOMER:$langs->trans("CodeNotDef"); - $compta_soc = (! empty($obj->code_compta))?$obj->code_compta:$cptcli; + $cptcli = (! empty($conf->global->COMPTA_ACCOUNT_CUSTOMER)?$conf->global->COMPTA_ACCOUNT_CUSTOMER:$langs->trans("CodeNotDef")); + $compta_soc = (! empty($obj->code_compta)?$obj->code_compta:$cptcli); $compta_prod = $obj->accountancy_code_sell; if (empty($compta_prod)) { - if($obj->product_type == 0) $compta_prod = (! empty($conf->global->COMPTA_PRODUCT_SOLD_ACCOUNT))?$conf->global->COMPTA_PRODUCT_SOLD_ACCOUNT:$langs->trans("CodeNotDef"); - else $compta_prod = (! empty($conf->global->COMPTA_SERVICE_SOLD_ACCOUNT))?$conf->global->COMPTA_SERVICE_SOLD_ACCOUNT:$langs->trans("CodeNotDef"); + if($obj->product_type == 0) $compta_prod = (! empty($conf->global->COMPTA_PRODUCT_SOLD_ACCOUNT)?$conf->global->COMPTA_PRODUCT_SOLD_ACCOUNT:$langs->trans("CodeNotDef")); + else $compta_prod = (! empty($conf->global->COMPTA_SERVICE_SOLD_ACCOUNT)?$conf->global->COMPTA_SERVICE_SOLD_ACCOUNT:$langs->trans("CodeNotDef")); } - $cpttva = (! empty($conf->global->COMPTA_VAT_ACCOUNT))?$conf->global->COMPTA_VAT_ACCOUNT:$langs->trans("CodeNotDef"); - $compta_tva = (! empty($obj->accountancy_code))?$obj->accountancy_code:$cpttva; + $cpttva = (! empty($conf->global->COMPTA_VAT_ACCOUNT)?$conf->global->COMPTA_VAT_ACCOUNT:$langs->trans("CodeNotDef")); + $compta_tva = (! empty($obj->accountancy_code)?$obj->accountancy_code:$cpttva); //la ligne facture $tabfac[$obj->rowid]["date"] = $obj->datef; $tabfac[$obj->rowid]["ref"] = $obj->facnumber; $tabfac[$obj->rowid]["type"] = $obj->type; + if (! isset($tabttc[$obj->rowid][$compta_soc])) $tabttc[$obj->rowid][$compta_soc]=0; + if (! isset($tabht[$obj->rowid][$compta_prod])) $tabht[$obj->rowid][$compta_prod]=0; + if (! isset($tabtva[$obj->rowid][$compta_tva])) $tabtva[$obj->rowid][$compta_tva]=0; $tabttc[$obj->rowid][$compta_soc] += $obj->total_ttc; $tabht[$obj->rowid][$compta_prod] += $obj->total_ht; $tabtva[$obj->rowid][$compta_tva] += $obj->total_tva; - $tabcompany[$obj->rowid]=array('id'=>$obj->socid,'name'=>$obj->name,'client'=>$obj->client); + $tabcompany[$obj->rowid]=array('id'=>$obj->socid, 'name'=>$obj->name, 'client'=>$obj->client); $i++; } } @@ -217,6 +229,6 @@ print ""; // End of page -$db->close(); llxFooter(); +$db->close(); ?> \ No newline at end of file diff --git a/htdocs/compta/resultat/clientfourn.php b/htdocs/compta/resultat/clientfourn.php index 830b18607bb..a2e6045fe2b 100644 --- a/htdocs/compta/resultat/clientfourn.php +++ b/htdocs/compta/resultat/clientfourn.php @@ -1,7 +1,7 @@ * Copyright (C) 2004-2011 Laurent Destailleur - * Copyright (C) 2005-2009 Regis Houssin + * Copyright (C) 2005-2012 Regis Houssin * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -32,10 +32,18 @@ require_once(DOL_DOCUMENT_ROOT."/core/lib/date.lib.php"); $langs->load("bills"); +$date_startmonth=GETPOST('date_startmonth'); +$date_startday=GETPOST('date_startday'); +$date_startyear=GETPOST('date_startyear'); +$date_endmonth=GETPOST('date_endmonth'); +$date_endday=GETPOST('date_endday'); +$date_endyear=GETPOST('date_endyear'); + // Security check $socid = GETPOST('socid','int'); if ($user->societe_id > 0) $socid = $user->societe_id; -if (!$user->rights->compta->resultat->lire && !$user->rights->accounting->comptarapport->lire) accessforbidden(); +if (! $user->rights->compta->resultat->lire && ! $user->rights->accounting->comptarapport->lire) + accessforbidden(); // Date range $year=GETPOST("year"); @@ -49,8 +57,8 @@ if (empty($year)) $month_current = strftime("%m",dol_now()); $year_start = $year; } -$date_start=dol_mktime(0,0,0,$_REQUEST["date_startmonth"],$_REQUEST["date_startday"],$_REQUEST["date_startyear"]); // Date for local PHP server -$date_end=dol_mktime(23,59,59,$_REQUEST["date_endmonth"],$_REQUEST["date_endday"],$_REQUEST["date_endyear"]); // Date for local PHP server +$date_start=dol_mktime(0, 0, 0, $date_startmonth, $date_startday, $date_startyear); +$date_end=dol_mktime(23, 59, 59, $date_endmonth, $date_endday, $date_endyear); // Quarter if (empty($date_start) || empty($date_end)) // We define date_start and date_end { @@ -86,9 +94,7 @@ else } // Define modecompta ('CREANCES-DETTES' or 'RECETTES-DEPENSES') -$modecompta = $conf->global->COMPTA_MODE; -if (GETPOST("modecompta")) $modecompta=GETPOST("modecompta"); - +$modecompta=(GETPOST("modecompta")?GETPOST("modecompta"):$conf->global->COMPTA_MODE); /* @@ -99,6 +105,13 @@ llxHeader(); $form=new Form($db); +$nomlink=''; +$periodlink=''; +$exportlink=''; + +$total_ht=0; +$total_ttc=0; + // Affiche en-tete de rapport if ($modecompta=="CREANCES-DETTES") { @@ -128,7 +141,8 @@ report_header($nom,$nomlink,$period,$periodlink,$description,$builddate,$exportl print ''; print ''; print ''; -if ($modecompta == 'CREANCES-DETTES') print ""; +if ($modecompta == 'CREANCES-DETTES') + print ""; print ""; print "\n"; @@ -144,9 +158,12 @@ if ($modecompta == 'CREANCES-DETTES') $sql.= ", ".MAIN_DB_PREFIX."facture as f"; $sql.= " WHERE f.fk_soc = s.rowid"; $sql.= " AND f.fk_statut IN (1,2)"; - if (! empty($conf->global->FACTURE_DEPOSITS_ARE_JUST_PAYMENTS)) $sql.= " AND f.type IN (0,1,2)"; - else $sql.= " AND f.type IN (0,1,2,3)"; - if ($date_start && $date_end) $sql.= " AND f.datef >= '".$db->idate($date_start)."' AND f.datef <= '".$db->idate($date_end)."'"; + if (! empty($conf->global->FACTURE_DEPOSITS_ARE_JUST_PAYMENTS)) + $sql.= " AND f.type IN (0,1,2)"; + else + $sql.= " AND f.type IN (0,1,2,3)"; + if (! empty($date_start) && ! empty($date_end)) + $sql.= " AND f.datef >= '".$db->idate($date_start)."' AND f.datef <= '".$db->idate($date_end)."'"; } else { @@ -162,7 +179,8 @@ else $sql.= " WHERE p.rowid = pf.fk_paiement"; $sql.= " AND pf.fk_facture = f.rowid"; $sql.= " AND f.fk_soc = s.rowid"; - if ($date_start && $date_end) $sql.= " AND p.datep >= '".$db->idate($date_start)."' AND p.datep <= '".$db->idate($date_end)."'"; + if (! empty($date_start) && ! empty($date_end)) + $sql.= " AND p.datep >= '".$db->idate($date_start)."' AND p.datep <= '".$db->idate($date_end)."'"; } $sql.= " AND f.entity = ".$conf->entity; if ($socid) $sql.= " AND f.fk_soc = ".$socid; @@ -183,11 +201,12 @@ if ($result) { print ""; print "\n"; - if ($modecompta == 'CREANCES-DETTES') print "\n"; + if ($modecompta == 'CREANCES-DETTES') + print "\n"; print "\n"; - $total_ht = $total_ht + $objp->amount_ht; - $total_ttc = $total_ttc + $objp->amount_ttc; + $total_ht += (isset($objp->amount_ht)?$objp->amount_ht:0); + $total_ttc += $objp->amount_ttc; print "\n"; $i++; } @@ -208,7 +227,8 @@ if ($modecompta != 'CREANCES-DETTES') $sql.= " AND p.fk_bank = b.rowid"; $sql.= " AND b.fk_account = ba.rowid"; $sql.= " AND ba.entity = ".$conf->entity; - if ($date_start && $date_end) $sql.= " AND p.datep >= '".$db->idate($date_start)."' AND p.datep <= '".$db->idate($date_end)."'"; + if (! empty($date_start) && ! empty($date_end)) + $sql.= " AND p.datep >= '".$db->idate($date_start)."' AND p.datep <= '".$db->idate($date_end)."'"; $sql.= " GROUP BY nom, idp"; $sql.= " ORDER BY nom"; @@ -226,11 +246,13 @@ if ($modecompta != 'CREANCES-DETTES') print ""; print "\n"; + if ($modecompta == 'CREANCES-DETTES') + print "\n"; print "\n"; - $total_ht = $total_ht + $objp->amount_ht; - $total_ttc = $total_ttc + $objp->amount_ttc; + $total_ht += (isset($objp->amount_ht)?$objp->amount_ht:0); + $total_ttc += $objp->amount_ttc; + print "\n"; $i++; } @@ -250,7 +272,8 @@ if ($total_ttc == 0) } print ''; -if ($modecompta == 'CREANCES-DETTES') print ''; +if ($modecompta == 'CREANCES-DETTES') + print ''; print ''; print ''; @@ -265,9 +288,12 @@ if ($modecompta == 'CREANCES-DETTES') $sql.= ", ".MAIN_DB_PREFIX."facture_fourn as f"; $sql.= " WHERE f.fk_soc = s.rowid"; $sql.= " AND f.fk_statut IN (1,2)"; - if (! empty($conf->global->FACTURE_DEPOSITS_ARE_JUST_PAYMENTS)) $sql.= " AND f.type IN (0,1,2)"; - else $sql.= " AND f.type IN (0,1,2,3)"; - if ($date_start && $date_end) $sql.= " AND f.datef >= '".$db->idate($date_start)."' AND f.datef <= '".$db->idate($date_end)."'"; + if (! empty($conf->global->FACTURE_DEPOSITS_ARE_JUST_PAYMENTS)) + $sql.= " AND f.type IN (0,1,2)"; + else + $sql.= " AND f.type IN (0,1,2,3)"; + if (! empty($date_start) && ! empty($date_end)) + $sql.= " AND f.datef >= '".$db->idate($date_start)."' AND f.datef <= '".$db->idate($date_end)."'"; } else { @@ -279,7 +305,8 @@ else $sql.= " LEFT JOIN ".MAIN_DB_PREFIX."societe as s"; $sql.= " ON f.fk_soc = s.rowid"; $sql.= " WHERE p.rowid = pf.fk_paiementfourn "; - if ($date_start && $date_end) $sql.= " AND p.datep >= '".$db->idate($date_start)."' AND p.datep <= '".$db->idate($date_end)."'"; + if (! empty($date_start) && ! empty($date_end)) + $sql.= " AND p.datep >= '".$db->idate($date_start)."' AND p.datep <= '".$db->idate($date_end)."'"; } $sql.= " AND f.entity = ".$conf->entity; if ($socid) $sql.= " AND f.fk_soc = ".$socid; @@ -306,13 +333,15 @@ if ($result) { print ""; print "\n"; - if ($modecompta == 'CREANCES-DETTES') print "\n"; + if ($modecompta == 'CREANCES-DETTES') + print "\n"; print "\n"; - $total_ht = $total_ht - $objp->amount_ht; - $total_ttc = $total_ttc - $objp->amount_ttc; - $subtotal_ht = $subtotal_ht + $objp->amount_ht; - $subtotal_ttc = $subtotal_ttc + $objp->amount_ttc; + $total_ht -= (isset($objp->amount_ht)?$objp->amount_ht:0); + $total_ttc -= $objp->amount_ttc; + $subtotal_ht += (isset($objp->amount_ht)?$objp->amount_ht:0); + $subtotal_ttc += $objp->amount_ttc; + print "\n"; $i++; } @@ -330,7 +359,8 @@ if ($result) { dol_print_error($db); } print ''; -if ($modecompta == 'CREANCES-DETTES') print ''; +if ($modecompta == 'CREANCES-DETTES') + print ''; print ''; print ''; @@ -349,7 +379,8 @@ if ($modecompta == 'CREANCES-DETTES') $sql.= ", ".MAIN_DB_PREFIX."chargesociales as cs"; $sql.= " WHERE cs.fk_type = c.id"; $sql.= " AND c.deductible = 0"; - if ($date_start && $date_end) $sql.= " AND cs.date_ech >= '".$db->idate($date_start)."' AND cs.date_ech <= '".$db->idate($date_end)."'"; + if (! empty($date_start) && ! empty($date_end)) + $sql.= " AND cs.date_ech >= '".$db->idate($date_start)."' AND cs.date_ech <= '".$db->idate($date_end)."'"; } else { @@ -360,7 +391,8 @@ else $sql.= " WHERE p.fk_charge = cs.rowid"; $sql.= " AND cs.fk_type = c.id"; $sql.= " AND c.deductible = 0"; - if ($date_start && $date_end) $sql.= " AND p.datep >= '".$db->idate($date_start)."' AND p.datep <= '".$db->idate($date_end)."'"; + if (! empty($date_start) && ! empty($date_end)) + $sql.= " AND p.datep >= '".$db->idate($date_start)."' AND p.datep <= '".$db->idate($date_end)."'"; } $sql.= " AND cs.entity = ".$conf->entity; $sql.= " GROUP BY c.libelle"; @@ -378,10 +410,10 @@ if ($result) { while ($i < $num) { $obj = $db->fetch_object($result); - $total_ht = $total_ht - $obj->amount; - $total_ttc = $total_ttc - $obj->amount; - $subtotal_ht = $subtotal_ht + $obj->amount; - $subtotal_ttc = $subtotal_ttc + $obj->amount; + $total_ht -= $obj->amount; + $total_ttc -= $obj->amount; + $subtotal_ht += $obj->amount; + $subtotal_ttc += $obj->amount; $var = !$var; print ""; @@ -402,7 +434,8 @@ if ($result) { dol_print_error($db); } print ''; -if ($modecompta == 'CREANCES-DETTES') print ''; +if ($modecompta == 'CREANCES-DETTES') + print ''; print ''; print ''; @@ -420,7 +453,8 @@ if ($modecompta == 'CREANCES-DETTES') $sql.= ", ".MAIN_DB_PREFIX."chargesociales as cs"; $sql.= " WHERE cs.fk_type = c.id"; $sql.= " AND c.deductible = 1"; - if ($date_start && $date_end) $sql.= " AND cs.date_ech >= '".$db->idate($date_start)."' AND cs.date_ech <= '".$db->idate($date_end)."'"; + if (! empty($date_start) && ! empty($date_end)) + $sql.= " AND cs.date_ech >= '".$db->idate($date_start)."' AND cs.date_ech <= '".$db->idate($date_end)."'"; $sql.= " AND cs.entity = ".$conf->entity; $sql.= " GROUP BY c.libelle"; $sql.= " ORDER BY c.libelle"; @@ -434,7 +468,8 @@ else $sql.= " WHERE p.fk_charge = cs.rowid"; $sql.= " AND cs.fk_type = c.id"; $sql.= " AND c.deductible = 1"; - if ($date_start && $date_end) $sql.= " AND p.datep >= '".$db->idate($date_start)."' AND p.datep <= '".$db->idate($date_end)."'"; + if (! empty($date_start) && ! empty($date_end)) + $sql.= " AND p.datep >= '".$db->idate($date_start)."' AND p.datep <= '".$db->idate($date_end)."'"; $sql.= " AND cs.entity = ".$conf->entity; $sql.= " GROUP BY c.libelle"; $sql.= " ORDER BY c.libelle"; @@ -452,15 +487,16 @@ if ($result) { while ($i < $num) { $obj = $db->fetch_object($result); - $total_ht = $total_ht - $obj->amount; - $total_ttc = $total_ttc - $obj->amount; - $subtotal_ht = $subtotal_ht + $obj->amount; - $subtotal_ttc = $subtotal_ttc + $obj->amount; + $total_ht -= $obj->amount; + $total_ttc -= $obj->amount; + $subtotal_ht += $obj->amount; + $subtotal_ttc += $obj->amount; $var = !$var; print ""; print ''; - if ($modecompta == 'CREANCES-DETTES') print ''; + if ($modecompta == 'CREANCES-DETTES') + print ''; print ''; print ''; $i++; @@ -476,7 +512,8 @@ if ($result) { dol_print_error($db); } print ''; -if ($modecompta == 'CREANCES-DETTES') print ''; +if ($modecompta == 'CREANCES-DETTES') + print ''; print ''; print ''; @@ -488,7 +525,8 @@ if ($mysoc->tva_assuj == 'franchise') // Non assujeti print ''; print ''; - if ($modecompta == 'CREANCES-DETTES') print ''; + if ($modecompta == 'CREANCES-DETTES') + print ''; print ''; print ''; @@ -512,9 +550,12 @@ if ($modecompta == 'CREANCES-DETTES') $sql = "SELECT date_format(f.datef,'%Y-%m') as dm, sum(f.tva) as amount"; $sql.= " FROM ".MAIN_DB_PREFIX."facture as f"; $sql.= " WHERE f.fk_statut IN (1,2)"; - if (! empty($conf->global->FACTURE_DEPOSITS_ARE_JUST_PAYMENTS)) $sql.= " AND f.type IN (0,1,2)"; - else $sql.= " AND f.type IN (0,1,2,3)"; - if ($date_start && $date_end) $sql.= " AND f.datef >= '".$db->idate($date_start)."' AND f.datef <= '".$db->idate($date_end)."'"; + if (! empty($conf->global->FACTURE_DEPOSITS_ARE_JUST_PAYMENTS)) + $sql.= " AND f.type IN (0,1,2)"; + else + $sql.= " AND f.type IN (0,1,2,3)"; + if (! empty($date_start) && ! empty($date_end)) + $sql.= " AND f.datef >= '".$db->idate($date_start)."' AND f.datef <= '".$db->idate($date_end)."'"; $sql.= " AND f.entity = ".$conf->entity; $sql.= " GROUP BY dm"; $sql.= " ORDER BY dm"; @@ -529,11 +570,11 @@ if ($modecompta == 'CREANCES-DETTES') while ($i < $num) { $obj = $db->fetch_object($result); - $amount = $amount - $obj->amount; - //$total_ht = $total_ht - $obj->amount; - $total_ttc = $total_ttc - $obj->amount; - //$subtotal_ht = $subtotal_ht - $obj->amount; - $subtotal_ttc = $subtotal_ttc - $obj->amount; + $amount -= $obj->amount; + //$total_ht -= $obj->amount; + $total_ttc -= $obj->amount; + //$subtotal_ht -= $obj->amount; + $subtotal_ttc -= $obj->amount; $i++; } } @@ -551,9 +592,12 @@ if ($modecompta == 'CREANCES-DETTES') $sql = "SELECT date_format(f.datef,'%Y-%m') as dm, sum(f.total_tva) as amount"; $sql.= " FROM ".MAIN_DB_PREFIX."facture_fourn as f"; $sql.= " WHERE f.fk_statut IN (1,2)"; - if (! empty($conf->global->FACTURE_DEPOSITS_ARE_JUST_PAYMENTS)) $sql.= " AND f.type IN (0,1,2)"; - else $sql.= " AND f.type IN (0,1,2,3)"; - if ($date_start && $date_end) $sql.= " AND f.datef >= '".$db->idate($date_start)."' AND f.datef <= '".$db->idate($date_end)."'"; + if (! empty($conf->global->FACTURE_DEPOSITS_ARE_JUST_PAYMENTS)) + $sql.= " AND f.type IN (0,1,2)"; + else + $sql.= " AND f.type IN (0,1,2,3)"; + if (! empty($date_start) && ! empty($date_end)) + $sql.= " AND f.datef >= '".$db->idate($date_start)."' AND f.datef <= '".$db->idate($date_end)."'"; $sql.= " AND f.entity = ".$conf->entity; $sql.= " GROUP BY dm"; $sql.= " ORDER BY dm"; @@ -568,11 +612,11 @@ if ($modecompta == 'CREANCES-DETTES') while ($i < $num) { $obj = $db->fetch_object($result); - $amount = $amount + $obj->amount; - //$total_ht = $total_ht + $obj->amount; - $total_ttc = $total_ttc + $obj->amount; - //$subtotal_ht = $subtotal_ht + $obj->amount; - $subtotal_ttc = $subtotal_ttc + $obj->amount; + $amount += $obj->amount; + //$total_ht += $obj->amount; + $total_ttc += $obj->amount; + //$subtotal_ht += $obj->amount; + $subtotal_ttc += $obj->amount; $i++; } @@ -593,7 +637,8 @@ else $sql = "SELECT date_format(t.datev,'%Y-%m') as dm, sum(t.amount) as amount"; $sql.= " FROM ".MAIN_DB_PREFIX."tva as t"; $sql.= " WHERE amount > 0"; - if ($date_start && $date_end) $sql.= " AND t.datev >= '".$db->idate($date_start)."' AND t.datev <= '".$db->idate($date_end)."'"; + if (! empty($date_start) && ! empty($date_end)) + $sql.= " AND t.datev >= '".$db->idate($date_start)."' AND t.datev <= '".$db->idate($date_end)."'"; $sql.= " AND t.entity = ".$conf->entity; $sql.= " GROUP BY dm"; $sql.= " ORDER BY dm"; @@ -608,11 +653,11 @@ else while ($i < $num) { $obj = $db->fetch_object($result); - $amount = $amount - $obj->amount; - $total_ht = $total_ht - $obj->amount; - $total_ttc = $total_ttc - $obj->amount; - $subtotal_ht = $subtotal_ht - $obj->amount; - $subtotal_ttc = $subtotal_ttc - $obj->amount; + $amount -= $obj->amount; + $total_ht -= $obj->amount; + $total_ttc -= $obj->amount; + $subtotal_ht -= $obj->amount; + $subtotal_ttc -= $obj->amount; $i++; } @@ -623,7 +668,8 @@ else } print ""; print "\n"; - if ($modecompta == 'CREANCES-DETTES') print "\n"; + if ($modecompta == 'CREANCES-DETTES') + print "\n"; print "\n"; print "\n"; @@ -632,7 +678,8 @@ else $sql = "SELECT date_format(t.datev,'%Y-%m') as dm, sum(t.amount) as amount"; $sql.= " FROM ".MAIN_DB_PREFIX."tva as t"; $sql.= " WHERE amount < 0"; - if ($date_start && $date_end) $sql.= " AND t.datev >= '".$db->idate($date_start)."' AND t.datev <= '".$db->idate($date_end)."'"; + if (! empty($date_start) && ! empty($date_end)) + $sql.= " AND t.datev >= '".$db->idate($date_start)."' AND t.datev <= '".$db->idate($date_end)."'"; $sql.= " AND t.entity = ".$conf->entity; $sql.= " GROUP BY dm"; $sql.= " ORDER BY dm"; @@ -647,11 +694,11 @@ else while ($i < $num) { $obj = $db->fetch_object($result); - $amount = $amount + $obj->amount; - $total_ht = $total_ht + $obj->amount; - $total_ttc = $total_ttc + $obj->amount; - $subtotal_ht = $subtotal_ht + $obj->amount; - $subtotal_ttc = $subtotal_ttc + $obj->amount; + $amount += $obj->amount; + $total_ht += $obj->amount; + $total_ttc += $obj->amount; + $subtotal_ht += $obj->amount; + $subtotal_ttc += $obj->amount; $i++; } @@ -664,7 +711,8 @@ else } print ""; print "\n"; - if ($modecompta == 'CREANCES-DETTES') print "\n"; + if ($modecompta == 'CREANCES-DETTES') + print "\n"; print "\n"; print "\n"; } @@ -673,7 +721,8 @@ else if ($mysoc->tva_assuj != 'franchise') // Assujeti { print ''; - if ($modecompta == 'CREANCES-DETTES') print ''; + if ($modecompta == 'CREANCES-DETTES') + print ''; print ''; print ''; } @@ -687,7 +736,8 @@ if ($mysoc->tva_assuj != 'franchise') // Assujeti print ''; print ''; - if ($modecompta == 'CREANCES-DETTES') print ''; + if ($modecompta == 'CREANCES-DETTES') + print ''; print ''; print ''; } diff --git a/htdocs/compta/resultat/index.php b/htdocs/compta/resultat/index.php index bbb6c5511be..2ba45b22a7d 100644 --- a/htdocs/compta/resultat/index.php +++ b/htdocs/compta/resultat/index.php @@ -40,13 +40,11 @@ else { // Security check $socid = GETPOST('socid','int'); if ($user->societe_id > 0) $socid = $user->societe_id; -if (!$user->rights->compta->resultat->lire && !$user->rights->accounting->comptarapport->lire) -accessforbidden(); +if (! $user->rights->compta->resultat->lire && ! $user->rights->accounting->comptarapport->lire) + accessforbidden(); // Define modecompta ('CREANCES-DETTES' or 'RECETTES-DEPENSES') -$modecompta = $conf->global->COMPTA_MODE; -if (GETPOST("modecompta")) $modecompta=GETPOST("modecompta"); - +$modecompta=(GETPOST("modecompta")?GETPOST("modecompta"):$conf->global->COMPTA_MODE); /* @@ -57,6 +55,9 @@ llxHeader(); $form=new Form($db); +$nomlink=''; +$exportlink=''; + // Affiche en-tete du rapport if ($modecompta == 'CREANCES-DETTES') { @@ -125,7 +126,7 @@ if ($result) while ($i < $num) { $row = $db->fetch_object($result); - $encaiss[$row->dm] = $row->amount_ht; + $encaiss[$row->dm] = (isset($row->amount_ht)?$row->amount_ht:0); $encaiss_ttc[$row->dm] = $row->amount_ttc; $i++; } @@ -159,7 +160,10 @@ if ($modecompta != 'CREANCES-DETTES') { $row = $db->fetch_object($result); - $encaiss[$row->dm] += $row->amount_ht; + if (! isset($encaiss[$row->dm])) $encaiss[$row->dm]=0; + $encaiss[$row->dm] += (isset($row->amount_ht)?$row->amount_ht:0); + + if (! isset($encaiss_ttc[$row->dm])) $encaiss_ttc[$row->dm]=0; $encaiss_ttc[$row->dm] += $row->amount_ttc; $i++; @@ -208,7 +212,10 @@ if ($result) { $row = $db->fetch_object($result); - $decaiss[$row->dm] = $row->amount_ht; + if (! isset($decaiss[$row->dm])) $decaiss[$row->dm]=0; + $decaiss[$row->dm] = (isset($row->amount_ht)?$row->amount_ht:0); + + if (! isset($decaiss_ttc[$row->dm])) $decaiss_ttc[$row->dm]=0; $decaiss_ttc[$row->dm] = $row->amount_ttc; $i++; @@ -246,7 +253,10 @@ if ($modecompta == 'CREANCES-DETTES') while ($i < $num) { $obj = $db->fetch_object($result); + if (! isset($decaiss[$obj->dm])) $decaiss[$obj->dm]=0; $decaiss[$obj->dm] += $obj->amount; + + if (! isset($decaiss_ttc[$obj->dm])) $decaiss_ttc[$obj->dm]=0; $decaiss_ttc[$obj->dm] += $obj->amount; $i++; @@ -274,7 +284,10 @@ if ($modecompta == 'CREANCES-DETTES') while ($i < $num) { $obj = $db->fetch_object($result); + if (! isset($encaiss[$obj->dm])) $encaiss[$obj->dm]=0; $encaiss[$obj->dm] += $obj->amount; + + if (! isset($encaiss_ttc[$obj->dm])) $encaiss_ttc[$obj->dm]=0; $encaiss_ttc[$obj->dm] += $obj->amount; $i++; @@ -302,7 +315,10 @@ else { while ($i < $num) { $obj = $db->fetch_object($result); + if (! isset($decaiss[$obj->dm])) $decaiss[$obj->dm]=0; $decaiss[$obj->dm] += $obj->amount; + + if (! isset($decaiss_ttc[$obj->dm])) $decaiss_ttc[$obj->dm]=0; $decaiss_ttc[$obj->dm] += $obj->amount; $i++; @@ -328,7 +344,10 @@ else { while ($i < $num) { $obj = $db->fetch_object($result); + if (! isset($encaiss[$obj->dm])) $encaiss[$obj->dm]=0; $encaiss[$obj->dm] += $obj->amount; + + if (! isset($encaiss_ttc[$obj->dm])) $encaiss_ttc[$obj->dm]=0; $encaiss_ttc[$obj->dm] += $obj->amount; $i++; @@ -346,7 +365,7 @@ $subtotal_ht = 0; $subtotal_ttc = 0; if ($modecompta == 'CREANCES-DETTES') { - $sql = "SELECT c.libelle as nom, date_format(cs.date_ech,'%Y-%m') as dm, sum(cs.amount) as amount_ht, sum(cs.amount) as amount_ttc"; + $sql = "SELECT c.libelle as nom, date_format(cs.date_ech,'%Y-%m') as dm, sum(cs.amount) as amount"; $sql.= " FROM ".MAIN_DB_PREFIX."c_chargesociales as c"; $sql.= ", ".MAIN_DB_PREFIX."chargesociales as cs"; $sql.= " WHERE cs.fk_type = c.id"; @@ -354,7 +373,7 @@ if ($modecompta == 'CREANCES-DETTES') } else { - $sql = "SELECT c.libelle as nom, date_format(p.datep,'%Y-%m') as dm, sum(p.amount) as amount_ht, sum(p.amount) as amount_ttc"; + $sql = "SELECT c.libelle as nom, date_format(p.datep,'%Y-%m') as dm, sum(p.amount) as amount"; $sql.= " FROM ".MAIN_DB_PREFIX."c_chargesociales as c"; $sql.= ", ".MAIN_DB_PREFIX."chargesociales as cs"; $sql.= ", ".MAIN_DB_PREFIX."paiementcharge as p"; @@ -375,8 +394,11 @@ if ($result) { while ($i < $num) { $obj = $db->fetch_object($result); - $decaiss[$obj->dm] += $obj->amount_ht; - $decaiss_ttc[$obj->dm] += $obj->amount_ttc; + if (! isset($decaiss[$obj->dm])) $decaiss[$obj->dm]=0; + $decaiss[$obj->dm] += $obj->amount; + + if (! isset($decaiss_ttc[$obj->dm])) $decaiss_ttc[$obj->dm]=0; + $decaiss_ttc[$obj->dm] += $obj->amount; $i++; } @@ -393,7 +415,7 @@ $subtotal_ht = 0; $subtotal_ttc = 0; if ($modecompta == 'CREANCES-DETTES') { - $sql = "SELECT c.libelle as nom, date_format(cs.date_ech,'%Y-%m') as dm, sum(cs.amount) as amount_ht, sum(cs.amount) as amount_ttc"; + $sql = "SELECT c.libelle as nom, date_format(cs.date_ech,'%Y-%m') as dm, sum(cs.amount) as amount"; $sql.= " FROM ".MAIN_DB_PREFIX."c_chargesociales as c"; $sql.= ", ".MAIN_DB_PREFIX."chargesociales as cs"; $sql.= " WHERE cs.fk_type = c.id"; @@ -401,7 +423,7 @@ if ($modecompta == 'CREANCES-DETTES') } else { - $sql = "SELECT c.libelle as nom, date_format(p.datep,'%Y-%m') as dm, sum(p.amount) as amount_ht, sum(p.amount) as amount_ttc"; + $sql = "SELECT c.libelle as nom, date_format(p.datep,'%Y-%m') as dm, sum(p.amount) as amount"; $sql.= " FROM ".MAIN_DB_PREFIX."c_chargesociales as c"; $sql.= ", ".MAIN_DB_PREFIX."chargesociales as cs"; $sql.= ", ".MAIN_DB_PREFIX."paiementcharge as p"; @@ -422,8 +444,11 @@ if ($result) { while ($i < $num) { $obj = $db->fetch_object($result); - $decaiss[$obj->dm] += $obj->amount_ht; - $decaiss_ttc[$obj->dm] += $obj->amount_ttc; + if (! isset($decaiss[$obj->dm])) $decaiss[$obj->dm]=0; + $decaiss[$obj->dm] += $obj->amount; + + if (! isset($decaiss_ttc[$obj->dm])) $decaiss_ttc[$obj->dm]=0; + $decaiss_ttc[$obj->dm] += $obj->amount; $i++; } @@ -479,17 +504,19 @@ for ($mois = 1+$nb_mois_decalage ; $mois <= 12+$nb_mois_decalage ; $mois++) $case = strftime("%Y-%m",dol_mktime(12,0,0,$mois_modulo,1,$annee_decalage)); print '"; print '"; @@ -523,7 +550,9 @@ for ($annee = $year_start ; $annee <= $year_end ; $annee++) print ''; + $in=(isset($totentrees[$annee])?price2num($totentrees[$annee], 'MT'):0); + $out=(isset($totsorties[$annee])?price2num($totsorties[$annee],' MT'):0); + print price($in-$out).''; // print ''; } } @@ -533,6 +562,5 @@ print "
  ".$langs->trans("AmountHT")."".$langs->trans("AmountHT")."".$langs->trans("AmountTTC")."
 ".$langs->trans("Bills").' '.$objp->nom."".price($objp->amount_ht)."".price($objp->amount_ht)."".price($objp->amount_ttc)."
 ".$langs->trans("Bills")." ".$langs->trans("Other")." (".$langs->trans("PaymentsNotLinkedToInvoice").")\n"; - if ($modecompta == 'CREANCES-DETTES') print "".price($objp->amount_ht)."".price($objp->amount_ht)."".price($objp->amount_ttc)."
'.price($total_ht).''.price($total_ht).''.price($total_ttc).'
 ".$langs->trans("Bills")." socid."\">".$objp->nom."".price(-$objp->amount_ht)."".price(-$objp->amount_ht)."".price(-$objp->amount_ttc)."
'.price(-$subtotal_ht).''.price(-$subtotal_ht).''.price(-$subtotal_ttc).'
 
'.price(-$subtotal_ht).''.price(-$subtotal_ht).''.price(-$subtotal_ttc).'
 '.$obj->nom.''.price(-$obj->amount).''.price(-$obj->amount).''.price(-$obj->amount).'
'.price(-$subtotal_ht).''.price(-$subtotal_ht).''.price(-$subtotal_ttc).'
'.$langs->trans("Profit").''.price($total_ht).''.price($total_ht).''.price($total_ttc).'
 ".$langs->trans("VATPaid")."".price($amount)."".price($amount)."".price($amount)."
 ".$langs->trans("VATCollected")."".price($amount)."".price($amount)."".price($amount)."
  '.price(price2num($subtotal_ttc,'MT')).'
'.$langs->trans("Profit").''.price(price2num($total_ht,'MT')).''.price(price2num($total_ht,'MT')).''.price(price2num($total_ttc,'MT')).'
 '; - if ($decaiss_ttc[$case] != 0) + if (isset($decaiss_ttc[$case]) && $decaiss_ttc[$case] != 0) { print ''.price(price2num($decaiss_ttc[$case],'MT')).''; + if (! isset($totsorties[$annee])) $totsorties[$annee]=0; $totsorties[$annee]+=$decaiss_ttc[$case]; } print " '; - if ($encaiss_ttc[$case] != 0) + if (isset($encaiss_ttc[$case]) && $encaiss_ttc[$case] != 0) { print ''.price(price2num($encaiss_ttc[$case],'MT')).''; + if (! isset($totentrees[$annee])) $totentrees[$annee]=0; $totentrees[$annee]+=$encaiss_ttc[$case]; } print " '; if (isset($totentrees[$annee]) || isset($totsorties[$annee])) { - print price(price2num($totentrees[$annee]-$totsorties[$annee],'MT')).' 
"; llxFooter(); - $db->close(); -?> +?> \ No newline at end of file diff --git a/htdocs/core/lib/functions.lib.php b/htdocs/core/lib/functions.lib.php index 9a20d25f431..bacec03ef6d 100644 --- a/htdocs/core/lib/functions.lib.php +++ b/htdocs/core/lib/functions.lib.php @@ -616,7 +616,7 @@ function dol_get_fiche_head($links=array(), $active='0', $title='', $notab=0, $p $out="\n".'